Cerca negli altri canali: supporto nuova ricerca globale

This commit is contained in:
mac12m99
2021-04-03 14:43:38 +02:00
parent b22df3e973
commit a4a700b9ac
3 changed files with 13 additions and 10 deletions
-4
View File
@@ -151,10 +151,6 @@ def run(item=None):
import urllib
short = urllib.urlopen('https://u.nu/api.php?action=shorturl&format=simple&url=' + item.url).read().decode('utf-8')
platformtools.dialog_ok(config.get_localized_string(20000), config.get_localized_string(70740) % short)
# Action in certain channel specified in "action" and "channel" parameters
elif item.action == "check_channels":
from platformcode import checkhost
checkhost.check_channels()
else:
# Checks if channel exists
if os.path.isfile(os.path.join(config.get_runtime_path(), 'channels', item.channel + ".py")):