ignore 0 byte files

This commit is contained in:
j 2010-12-28 20:50:32 +05:30
parent d8fc7c10db
commit d4409a0411
1 changed files with 7 additions and 6 deletions

View File

@ -125,6 +125,7 @@ class Client(object):
break
if update:
info = utils.avinfo(path)
if info['size'] > 0:
oshash = info['oshash']
deleted = -1
t = (path, oshash, stat.st_atime, stat.st_ctime, stat.st_mtime,