Update mod_db_manager.py
Customize for Linux
This commit is contained in:
parent
a368c47661
commit
d1a00d0d48
@ -92,7 +92,7 @@ def find_DBs():
|
|||||||
# if the cache has old version then we should clear it
|
# if the cache has old version then we should clear it
|
||||||
for root, dirs, files in os.walk("./cache"):
|
for root, dirs, files in os.walk("./cache"):
|
||||||
for sfile in files:
|
for sfile in files:
|
||||||
if sfile.startswith("FG") or sfile.startswith("SG") or sfile.startswith("DiagOnCAN"):
|
if sfile.startswith("FG") or sfile.startswith("SG") or sfile.startswith("DiagOnCan"):
|
||||||
full_path = os.path.join("./cache", sfile)
|
full_path = os.path.join("./cache", sfile)
|
||||||
os.remove(full_path)
|
os.remove(full_path)
|
||||||
if verline[1]!=mod_globals.ddtroot:
|
if verline[1]!=mod_globals.ddtroot:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user