[renamerOnUpdate] Untrack custom config and load it first if present (#264)

This commit is contained in:
stg-annon
2024-02-25 09:46:47 -05:00
committed by GitHub
parent 6664747041
commit 556ad2bdc6
2 changed files with 5 additions and 3 deletions

1
plugins/renamerOnUpdate/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
config.py

View File

@@ -25,12 +25,13 @@ try:
except Exception:
MODULE_UNIDECODE = False
import log
try:
import renamerOnUpdate_config as config
except Exception:
import config
import log
except Exception:
log.LogWarning("Could not import ROU config file, did you rename the template file to 'config.py'? Defaulting to template config file",file=sys.stderr)
import renamerOnUpdate_config as config
DB_VERSION_FILE_REFACTOR = 32