From 76122bea5da63759d529f1295a9208c9291243d8 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 7 May 2018 19:09:35 -0700 Subject: [PATCH] Fix Imgur URL database upgrade migration --- plexpy/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 59c7cfa6..4b5b3ea5 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -1694,9 +1694,9 @@ def dbcheck(): for row in result: img_hash = notification_handler.set_hash_image_info( rating_key=row['rating_key'], width=1000, height=1500, fallback='poster') - data_factory.set_imgur_info(img_hash=img_hash, imgur_title=row['poster_title'], - imgur_url=row['poster_url'], delete_hash=row['delete_hash'], - service='imgur') + data_factory.set_img_info(img_hash=img_hash, imgur_title=row['poster_title'], + imgur_url=row['poster_url'], delete_hash=row['delete_hash'], + service='imgur') db.action('DROP TABLE poster_urls') except sqlite3.OperationalError: