NoneType and style fixes for placement parsing lib
[osm/N2VC.git] / juju / client / watcher.py
index 8d7e15c..64099c8 100644 (file)
@@ -9,7 +9,7 @@ class AllWatcher(BaseAllWatcher):
             client.connect(self.connection)
 
             result = await client.WatchAll()
-            self.Id = result.allwatcherid
+            self.Id = result.watcher_id
 
         msg['Id'] = self.Id
         return await super(AllWatcher, self).rpc(msg)