Skip to content

Commit 1d1cd46

Browse files
committed
Fix linter warnings
1 parent 573612a commit 1d1cd46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/srgssr.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,7 +1385,8 @@ def write_favourite_show_ids(self, show_ids):
13851385
json.dump(show_ids_dict_list, f)
13861386

13871387
def read_searches(self, filename):
1388-
path = xbmcvfs.translatePath(self.real_settings.getAddonInfo('profile'))
1388+
path = xbmcvfs.translatePath(
1389+
self.real_settings.getAddonInfo('profile'))
13891390
file_path = os.path.join(path, filename)
13901391
try:
13911392
with open(file_path, 'r') as f:
@@ -1408,7 +1409,8 @@ def write_search(self, filename, name, max_entries=10):
14081409
searches.pop()
14091410
searches.insert(0, name)
14101411
write_dict_list = [{'search': entry} for entry in searches]
1411-
path = xbmcvfs.translatePath(self.real_settings.getAddonInfo('profile'))
1412+
path = xbmcvfs.translatePath(
1413+
self.real_settings.getAddonInfo('profile'))
14121414
file_path = os.path.join(path, filename)
14131415
if not os.path.exists(path):
14141416
os.makedirs(path)

0 commit comments

Comments
 (0)