ignore files without info

This commit is contained in:
j 2013-05-14 12:10:10 +02:00
parent 01c504f3f9
commit 74d7d63617

View file

@ -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):