2020-01-28, 03:32
Hello,
Can someone help with script to delete Epg database. This is what I have so far, but its not deleting:
Can someone help with script to delete Epg database. This is what I have so far, but its not deleting:
Code:
import xbmc, xbmcgui
import os, sys, urllib, datetime, time, shutil, re
EPGDB = xbmc.translatePath('special://home/userdata/Database/Epg12.db')
def delete_file(EPGDB):
if os.path.exists(EPGDB):
os.remove(EPGDB)