From 8dbb05931e5e93d474252d6d90d50688aa4d9bfc Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Thu, 8 Mar 2018 18:23:12 -0800 Subject: [PATCH] Fix library refresh when missing library --- plexpy/libraries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/libraries.py b/plexpy/libraries.py index b143279c..ccfb26d0 100644 --- a/plexpy/libraries.py +++ b/plexpy/libraries.py @@ -744,7 +744,7 @@ class Libraries(object): logger.warn(u"Tautulli Libraries :: Unable to retrieve library %s from database. Requesting library list refresh." % section_id) # Let's first refresh the libraries list to make sure the library isn't newly added and not in the db yet - pmsconnect.refresh_libraries() + refresh_libraries() library_details = get_library_details(section_id=section_id)