瀏覽代碼

Check for "raw" note instead of label

Matthias Vogelgesang 9 年之前
父節點
當前提交
74231fa575
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      reco.py

+ 1 - 1
reco.py

@@ -80,7 +80,7 @@ class Application(object):
 
     def run(self):
         last_update = get_last_timestamp()
-        self.objects = {o.uuid: o for o in self.client.get_objects() if o.label == 'raw'}
+        self.objects = {o.uuid: o for o in self.client.get_objects() if o.note == 'raw'}
         self.accesspoint = self.client.get_accesspoints('file://')[0]
 
         downloads = {d.object_uuid: d for d in self.client.get_downloads()}