Make "Enable Posters in Notifications" a global toggle

This commit is contained in:
JonnyWong16 2016-06-18 09:33:37 -07:00
parent 8706e72f6a
commit 652ca73126

View file

@ -624,7 +624,7 @@ def build_notify_text(session=None, timeline=None, notify_action=None, agent_id=
else: else:
thumb = None thumb = None
if thumb: if plexpy.CONFIG.NOTIFY_UPLOAD_POSTERS and thumb:
# Try to retrieve a poster_url from the database # Try to retrieve a poster_url from the database
data_factory = datafactory.DataFactory() data_factory = datafactory.DataFactory()
poster_url = data_factory.get_poster_url(rating_key=poster_key) poster_url = data_factory.get_poster_url(rating_key=poster_key)