Don't load Twitter notifier on Python 3

This commit is contained in:
Ruud
2014-10-06 16:47:04 +02:00
parent b668e39296
commit 46cff26d92
@@ -1,8 +1,16 @@
from .main import Twitter
from six import PY3
try:
from .main import Twitter
def autoload():
return Twitter()
def autoload():
return Twitter()
except:
if PY3:
from couchpotato.core.helpers.py3 import NotSupported
raise NotSupported
else:
raise
config = [{
'name': 'twitter',