mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-06-10 16:51:23 -05:00
[renamerOnUpdate] Untrack custom config and load it first if present (#264)
This commit is contained in:
1
plugins/renamerOnUpdate/.gitignore
vendored
Normal file
1
plugins/renamerOnUpdate/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
config.py
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user