Ver Fonte

Check for "raw" note instead of label

Matthias Vogelgesang há 9 anos atrás
pai
commit
74231fa575
1 ficheiros alterados com 1 adições e 1 exclusões
  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()}