@@ -49,9 +49,9 @@ Accept-Language: en-US,en;q=0.5
self.options_read()
if self.options["user"]:
- self.url = "http://%s/api/" % (self.options["host"])
- else:
self.url = "http://%s:%s@%s/api/" % (self.options["user"], self.options["password"],self.options["host"])
+ else:
+ self.url = "http://%s/api/" % (self.options["host"])
######### Entry point ########
def get_content(self, data):