Fix flake8 lints

This commit is contained in:
Odd Stråbø 2021-10-10 19:23:13 +02:00
parent aaa7f33a77
commit 256c401ef9
3 changed files with 5 additions and 2 deletions

View file

@ -549,6 +549,7 @@ def find_library(server, item):
LOG.error('No ancestor found, not syncing item with ID: {}'.format(item['Id']))
return {}
def translate_path(path):
'''
Use new library location for translate path starting in Kodi 19
@ -559,4 +560,3 @@ def translate_path(path):
return xbmcvfs.translatePath(path)
else:
return xbmc.translatePath(path)