update informer url

This commit is contained in:
2019-05-05 10:33:29 +02:00
parent a5ec531f7c
commit 252db6414a

View File

@@ -247,8 +247,10 @@ class Infomentor(object):
file.save_file(self._last_result.content)
return file.fullfilename
def _build_url(self, path='', base=self.BASE_IM1):
def _build_url(self, path='', base=None):
'''Builds a general infomentor (IM1) url'''
if base is None:
base = self.BASE_IM1
return '{}/{}'.format(base, path)
def _mim_url(self, path=''):