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
|
break
|
||||||
if update:
|
if update:
|
||||||
info = utils.avinfo(path)
|
info = utils.avinfo(path)
|
||||||
|
'''
|
||||||
if 'error' in info or info['size'] == 0:
|
if 'error' in info or info['size'] == 0:
|
||||||
#print info
|
#print info
|
||||||
return False
|
return False
|
||||||
else:
|
'''
|
||||||
|
if info['size'] > 0:
|
||||||
oshash = info['oshash']
|
oshash = info['oshash']
|
||||||
sha1 = None
|
sha1 = None
|
||||||
deleted = -1
|
deleted = -1
|
||||||
|
|
Loading…
Reference in a new issue