Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
Fix bug related to parsing of db password
Browse files Browse the repository at this point in the history
  • Loading branch information
HACKERMD committed Nov 15, 2016
1 parent 801258e commit cdcccd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmlib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def db_password(self):
'''
try:
# Workaround special characters like %
value = self._config.get('DEFAULT', 'db_password')
return self._config.get('DEFAULT', 'db_password')
except NoOptionError:
raise ValueError(
'Parameter "db_password" is required in "DEFAULT" '
Expand Down

0 comments on commit cdcccd4

Please sign in to comment.