1
1
mirror of https://github.com/r4sas/PBinCLI synced 2025-03-12 13:21:27 +00:00

[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
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2

View File

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