Shows: Show correct year in log

pull/93/head
desimaniac 5 years ago
parent 234c4635b8
commit 6fe48e2c79

@ -795,8 +795,8 @@ def callback_notify(data):
if cfg.notifications.verbose: if cfg.notifications.verbose:
notify.send( notify.send(
message="Added \'%s\' show: \'%s (%s)\'" % (data['list_type'].capitalize(), data['show']['title'], message="Added \'%s\' show: \'%s (%s)\'" % (data['list_type'].capitalize(), data['show']['title'],
str(data['movie']['year']) str(data['show']['year'])
if data['movie']['year'] else '????')) if data['show']['year'] else '????'))
return return
elif data['event'] == 'abort': elif data['event'] == 'abort':
notify.send(message="Aborted adding Trakt \'%s\' %s due to: %s" % (data['list_type'].capitalize(), data['type'], notify.send(message="Aborted adding Trakt \'%s\' %s due to: %s" % (data['list_type'].capitalize(), data['type'],

Loading…
Cancel
Save