let's make the compression a little more predictable
This commit is contained in:
parent
a1925e1053
commit
86eba8b6ab
@ -112,6 +112,7 @@ def compressDB():
|
|||||||
return()
|
return()
|
||||||
curdir = os.path.join(sks['destdir'], NOWstr)
|
curdir = os.path.join(sks['destdir'], NOWstr)
|
||||||
for thisdir, dirs, files in os.walk(curdir): # I use os.walk here because we might handle this differently in the future...
|
for thisdir, dirs, files in os.walk(curdir): # I use os.walk here because we might handle this differently in the future...
|
||||||
|
files.sort()
|
||||||
for f in files:
|
for f in files:
|
||||||
fullpath = os.path.join(thisdir, f)
|
fullpath = os.path.join(thisdir, f)
|
||||||
newfile = '{0}.{1}'.format(fullpath, sks['compress'])
|
newfile = '{0}.{1}'.format(fullpath, sks['compress'])
|
||||||
|
Loading…
Reference in New Issue
Block a user