소스 검색

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)