From d1a00d0d481d76ff5d0203e2cd7750c1e0910ef9 Mon Sep 17 00:00:00 2001 From: funky Date: Sun, 9 Feb 2020 16:43:34 +0000 Subject: [PATCH] Update mod_db_manager.py Customize for Linux --- pyren/mod_db_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyren/mod_db_manager.py b/pyren/mod_db_manager.py index 1442470..01c01c9 100644 --- a/pyren/mod_db_manager.py +++ b/pyren/mod_db_manager.py @@ -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: