use xbmcvfs for deleting

This commit is contained in:
im85288 2015-04-03 11:53:41 +01:00
parent a715281a84
commit c5b68dcabd

View file

@ -176,7 +176,7 @@ def reset():
deleted = False deleted = False
while(deleted == False): while(deleted == False):
try: try:
os.remove(getKodiDBPath()) xbmcvfs.delete(getKodiDBPath())
deleted = True deleted = True
except: except:
deletecount += 1 deletecount += 1