Update mod_db_manager.py

Customize for Linux
This commit is contained in:
funky 2020-02-09 16:43:34 +00:00
parent a368c47661
commit d1a00d0d48

View File

@ -92,7 +92,7 @@ def find_DBs():
# if the cache has old version then we should clear it
for root, dirs, files in os.walk("./cache"):
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)
os.remove(full_path)
if verline[1]!=mod_globals.ddtroot: