Explorar o código

Check for "raw" note instead of label

Matthias Vogelgesang %!s(int64=9) %!d(string=hai) anos
pai
achega
74231fa575
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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()}