Fix Aggiunta alla libreria per Community Channels

This commit is contained in:
Alhaziel01
2020-03-24 10:31:08 +01:00
parent 69e43695f8
commit 8efa9aa373
2 changed files with 2 additions and 2 deletions

View File

@@ -178,7 +178,7 @@ def run(item=None):
# Checks if channel exists
if os.path.isfile(os.path.join(config.get_runtime_path(), 'channels', item.channel + ".py")):
CHANNELS = 'channels'
CHANNELS = 'channels'
elif os.path.isfile(os.path.join(config.get_runtime_path(), 'channels', 'porn', item.channel + ".py")):
CHANNELS = 'channels.porn'
else:

View File

@@ -532,7 +532,7 @@ def findvideos(item):
# Importamos el canal de la parte seleccionada
try:
channel = __import__('channels.%s' % nom_canal, fromlist=["channels.%s" % nom_canal])
if nom_canal == 'community':
channel = __import__('specials.%s' % nom_canal, fromlist=["channels.%s" % nom_canal])
else: