fix scanning
This commit is contained in:
parent
c9edb4bd79
commit
8332f1df31
1 changed files with 3 additions and 1 deletions
|
@ -311,10 +311,12 @@ class Client(object):
|
|||
break
|
||||
if update:
|
||||
info = utils.avinfo(path)
|
||||
'''
|
||||
if 'error' in info or info['size'] == 0:
|
||||
#print info
|
||||
return False
|
||||
else:
|
||||
'''
|
||||
if info['size'] > 0:
|
||||
oshash = info['oshash']
|
||||
sha1 = None
|
||||
deleted = -1
|
||||
|
|
Loading…
Reference in a new issue