瀏覽代碼

BatcaveClient: fix duplicate base_url prefix in get_nodefield()

Helge Jung 9 年之前
父節點
當前提交
0630a661e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/batcave/client.py

+ 1 - 1
modules/batcave/client.py

@@ -70,7 +70,7 @@ class BatcaveClient(object):
     def get_nodefield(self, nodeid, field):
         """Query the given field for the given nodeid from the BATCAVE."""
 
-        url = self.base_url + 'node/{0}/{1}'.format(nodeid, field)
+        url = 'node/{0}/{1}'.format(nodeid, field)
         ctx = "node '{0}'->'{1}'".format(nodeid, field)
 
         return self.__load_response(url, ctx)