Merge pull request #453 from yzqzss/patch-5

Speed up file scanning in `images/` dir
pull/466/head
nemobis 12 months ago committed by GitHub
commit c56cbf1c12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2250,7 +2250,7 @@ def resumePreviousDump(config={}, other={}):
listdir = os.listdir('%s/images' % (config['path']))
except:
pass # probably directory does not exist
listdir.sort()
listdir = set(listdir)
complete = True
lastfilename = ''
lastfilename2 = ''

Loading…
Cancel
Save