Browse Source

Don't replace empty api_key

pull/84/head
Ruud 13 years ago
parent
commit
4f90de4cf8
  1. 1
      couchpotato/core/logger.py

1
couchpotato/core/logger.py

@ -43,6 +43,7 @@ class CPLog(object):
# Replace api key
try:
api_key = Env.setting('api_key')
if api_key:
msg = msg.replace(api_key, 'API_KEY')
except:
pass

Loading…
Cancel
Save