Aggiornati domini canali, alcuni fix

This commit is contained in:
marco
2020-09-25 18:37:16 +02:00
parent 1758f35fa5
commit dc72c11c6f
6 changed files with 55 additions and 54 deletions
+3
View File
@@ -157,6 +157,9 @@ def run(item=None):
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")):