ignore 0 byte files
This commit is contained in:
parent
d8fc7c10db
commit
d4409a0411
1 changed files with 7 additions and 6 deletions
|
@ -125,6 +125,7 @@ class Client(object):
|
||||||
break
|
break
|
||||||
if update:
|
if update:
|
||||||
info = utils.avinfo(path)
|
info = utils.avinfo(path)
|
||||||
|
if info['size'] > 0:
|
||||||
oshash = info['oshash']
|
oshash = info['oshash']
|
||||||
deleted = -1
|
deleted = -1
|
||||||
t = (path, oshash, stat.st_atime, stat.st_ctime, stat.st_mtime,
|
t = (path, oshash, stat.st_atime, stat.st_ctime, stat.st_mtime,
|
||||||
|
|
Loading…
Reference in a new issue