Browse Source

BatcaveClient: fix duplicate base_url prefix in get_nodefield()

Helge Jung 9 years ago
parent
commit
0630a661e1
1 changed files with 1 additions and 1 deletions
  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)