From 8332f1df316cba136e685e6add0410daa4acfd17 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 30 Apr 2013 18:17:00 +0200 Subject: [PATCH] fix scanning --- pandora_client/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora_client/__init__.py b/pandora_client/__init__.py index f19ad98..85e02b2 100644 --- a/pandora_client/__init__.py +++ b/pandora_client/__init__.py @@ -311,10 +311,12 @@ class Client(object): break if update: info = utils.avinfo(path) + ''' if 'error' in info or info['size'] == 0: #print info return False - else: + ''' + if info['size'] > 0: oshash = info['oshash'] sha1 = None deleted = -1