Fix library refresh when missing library
This commit is contained in:
@@ -744,7 +744,7 @@ class Libraries(object):
|
|||||||
logger.warn(u"Tautulli Libraries :: Unable to retrieve library %s from database. Requesting library list refresh."
|
logger.warn(u"Tautulli Libraries :: Unable to retrieve library %s from database. Requesting library list refresh."
|
||||||
% section_id)
|
% section_id)
|
||||||
# Let's first refresh the libraries list to make sure the library isn't newly added and not in the db yet
|
# 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)
|
library_details = get_library_details(section_id=section_id)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user