From 428a5cc0fffd8ffe4ace1e61fe60d596347e8efd Mon Sep 17 00:00:00 2001 From: JonnyWong16 Date: Sat, 24 Jun 2017 21:34:22 -0700 Subject: [PATCH] Udate file sizes when refreshing media info --- plexpy/libraries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexpy/libraries.py b/plexpy/libraries.py index fce8f27e..cf4a753a 100644 --- a/plexpy/libraries.py +++ b/plexpy/libraries.py @@ -382,7 +382,7 @@ class Libraries(object): pass # If no cache was imported, get all library children items - cached_items = {d['rating_key']: d['file_size'] for d in rows} + cached_items = {d['rating_key']: d['file_size'] for d in rows} if not refresh else {} if refresh or not rows: pms_connect = pmsconnect.PmsConnect()