Răsfoiți Sursa

Use correct API for retrieving path

Matthias Vogelgesang 9 ani în urmă
părinte
comite
8b247c2f0d
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      concert_workspacecreator.py

+ 1 - 1
concert_workspacecreator.py

@@ -7,7 +7,7 @@ class Workspace(object):
     def __init__(self, device, workspace_id):
         self._device = device
         self._workspace_id = workspace_id
-        self._path = self.device.GetPath(workspace)
+        self._path = self.device.GetWorkspacePath(workspace_id)
         logging.getLogger().info("Created workspace={}".format(self))
 
     def __enter__(self):