ignore files without info
This commit is contained in:
parent
01c504f3f9
commit
74d7d63617
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Server(Resource):
|
|||
self.upload.put(oshash)
|
||||
continue
|
||||
info = self.client.info(oshash)
|
||||
if 'error' in info:
|
||||
if not info or 'error' in info:
|
||||
continue
|
||||
for f in self.client.path(oshash):
|
||||
if os.path.exists(f):
|
||||
|
|
Loading…
Reference in a new issue