Эх сурвалжийг харах

Use correct API for retrieving path

Matthias Vogelgesang 9 жил өмнө
parent
commit
8b247c2f0d

+ 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):