浏览代码

Use correct API for retrieving path

Matthias Vogelgesang 9 年之前
父节点
当前提交
8b247c2f0d
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):