From 6fe48e2c790a2412db29ba1afca6e3d8ac402a8d Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Sun, 14 Jul 2019 12:07:57 -0500 Subject: [PATCH] Shows: Show correct year in log --- traktarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traktarr.py b/traktarr.py index d266a01..1b44c6a 100755 --- a/traktarr.py +++ b/traktarr.py @@ -795,8 +795,8 @@ def callback_notify(data): if cfg.notifications.verbose: notify.send( message="Added \'%s\' show: \'%s (%s)\'" % (data['list_type'].capitalize(), data['show']['title'], - str(data['movie']['year']) - if data['movie']['year'] else '????')) + str(data['show']['year']) + if data['show']['year'] else '????')) return elif data['event'] == 'abort': notify.send(message="Aborted adding Trakt \'%s\' %s due to: %s" % (data['list_type'].capitalize(), data['type'],