[shortener] fix typos

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS
2022-01-10 11:42:05 +03:00
parent 58645e1d32
commit b4ffc1a06b

View File

@@ -96,7 +96,7 @@ class Shortener:
elif self.api == 'isgd' or self.api == 'vgd':
self._gd_init()
elif self.api == 'custom':
self.apiurl == settings['short_url']
self.apiurl = settings['short_url']
self.session, self.proxy = _config_requests(settings)
@@ -143,7 +143,7 @@ class Shortener:
'tinyurl': self._tinyurl,
'isgd': self._gd,
'vgd': self._gd,
'cuttly': self._cuttly
'cuttly': self._cuttly,
'custom': self._custom
}
# run function selected by choosen API