piccoli edit

This commit is contained in:
axlt2002
2020-07-12 12:54:11 +02:00
parent f727a959d7
commit 040babdcb5
2 changed files with 13 additions and 9 deletions

View File

@@ -1000,7 +1000,8 @@ def clean(path_list=[]):
xbmc.sleep(1000)
progress.close()
def check_if_exist(path):
def check_db(path):
if '\\' in path: sep = '\\'
else: sep = '/'
if path.endswith(sep): path = path[:-len(sep)]
@@ -1013,6 +1014,7 @@ def check_if_exist(path):
ret = True
return ret
def execute_sql_kodi(sql):
"""
Run sql query against kodi database