diff --git a/plugins/renamerOnUpdate/.gitignore b/plugins/renamerOnUpdate/.gitignore new file mode 100644 index 0000000..f85c6b1 --- /dev/null +++ b/plugins/renamerOnUpdate/.gitignore @@ -0,0 +1 @@ +config.py \ No newline at end of file diff --git a/plugins/renamerOnUpdate/renamerOnUpdate.py b/plugins/renamerOnUpdate/renamerOnUpdate.py index fbbe8ac..df27ee5 100644 --- a/plugins/renamerOnUpdate/renamerOnUpdate.py +++ b/plugins/renamerOnUpdate/renamerOnUpdate.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