From c3238b5a834a67fbb767c63c03601c2a2b00f053 Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Mon, 14 May 2018 09:02:32 -0700 Subject: [PATCH] Fix Imgur database migration again --- plexpy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plexpy/__init__.py b/plexpy/__init__.py index 83a72b27..8b0f6521 100644 --- a/plexpy/__init__.py +++ b/plexpy/__init__.py @@ -1723,8 +1723,8 @@ 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_img_info(img_hash=img_hash, imgur_title=row['poster_title'], - imgur_url=row['poster_url'], delete_hash=row['delete_hash'], + data_factory.set_img_info(img_hash=img_hash, img_title=row['poster_title'], + img_url=row['poster_url'], delete_hash=row['delete_hash'], service='imgur') db.action('DROP TABLE poster_urls')