let's make the compression a little more predictable

This commit is contained in:
brent s 2017-09-02 10:01:42 -04:00
parent a1925e1053
commit 86eba8b6ab
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ def compressDB():
return()
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...
files.sort()
for f in files:
fullpath = os.path.join(thisdir, f)
newfile = '{0}.{1}'.format(fullpath, sks['compress'])