From 3d0437004eb422a0ae58dfe575c9c2a14f79f851 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 27 Feb 2020 22:34:50 +0100 Subject: [PATCH] fix nextep smb --- specials/nextep.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specials/nextep.py b/specials/nextep.py index 78ca186e..82361937 100644 --- a/specials/nextep.py +++ b/specials/nextep.py @@ -154,9 +154,10 @@ class NextDialog(xbmcgui.WindowXMLDialog): self.progress_control = None # set info - with filetools.file_open(INFO, 'r', vfs=False) as f: - full_info = f.readlines() - full_info = full_info[1:] + f = filetools.file_open(INFO, 'r') + full_info = f.read().split('\n') + full_info = full_info[1:] + f.close() full_info = "".join(full_info) info = jsontools.load(full_info) info = info["infoLabels"]