parent
79e4ff4509
commit
ff8bfd9523
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ def wipe_dbs(music=True):
|
||||||
LOG.warn('Wiping Kodi databases!')
|
LOG.warn('Wiping Kodi databases!')
|
||||||
kinds = [v.DB_VIDEO_PATH, v.DB_TEXTURE_PATH]
|
kinds = [v.DB_VIDEO_PATH, v.DB_TEXTURE_PATH]
|
||||||
if music:
|
if music:
|
||||||
kinds.append(v.DB_TEXTURE_PATH)
|
kinds.append(v.DB_MUSIC_PATH)
|
||||||
for path in kinds:
|
for path in kinds:
|
||||||
conn = connect(path, timeout=5.0)
|
conn = connect(path, timeout=5.0)
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
|
|
Loading…
Reference in a new issue