Merge branch 'patch-6' into 'master'

Update mod_db_manager.py

See merge request py_ren/pyren!9
This commit is contained in:
ShrLnm 2020-02-11 18:42:32 +00:00
commit cabbcb6429

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: