Merge pull request #503 from efiop/master

cache: fix upper limit for sub dirs
This commit is contained in:
Ruslan Kuprieiev
2018-03-02 15:10:41 +02:00
committed by GitHub
+1 -1
View File
@@ -24,7 +24,7 @@ class Cache(object):
@property
def _cache_subdirs(self):
dirs = []
for x in range(0x00, 0xFF):
for x in range(0, 256):
dirs.append(os.path.join(self.cache_dir, format(x, '02x')))
return dirs