diff --git a/platformcode/launcher.py b/platformcode/launcher.py index 94439077..1d2ef530 100644 --- a/platformcode/launcher.py +++ b/platformcode/launcher.py @@ -175,10 +175,10 @@ def run(item=None): channel = None if os.path.exists(channel_file): - try: - channel = __import__('%s.%s' % (CHANNELS, item.channel), None, None, ['%s.%s' % (CHANNELS, item.channel)]) - except ImportError: - exec("import " + CHANNELS + "." + item.channel + " as channel") + # try: + channel = __import__('%s.%s' % (CHANNELS, item.channel), None, None, ['%s.%s' % (CHANNELS, item.channel)]) + # except ImportError: + # exec("import " + CHANNELS + "." + item.channel + " as channel") logger.info("Running channel %s | %s" % (channel.__name__, channel.__file__))