diff --git a/couchpotato/core/plugins/base.py b/couchpotato/core/plugins/base.py index 3f7ed11..86cd977 100644 --- a/couchpotato/core/plugins/base.py +++ b/couchpotato/core/plugins/base.py @@ -97,6 +97,9 @@ class Plugin(object): self.makeDir(os.path.dirname(path)) + if os.path.exists(path): + log.info('%s already exists, overwriting file with new version', path) + try: f = open(path, 'w+' if not binary else 'w+b') f.write(content)