Skip to content

Commit

Permalink
Fix usage with newer ConfigParser
Browse files Browse the repository at this point in the history
Fixes #28
  • Loading branch information
terceiro committed Feb 10, 2019
1 parent 83a6018 commit 0a3301d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ofxclient/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,7 @@ class SecurableConfigParser(ConfigParser):

def __init__(self, keyring_name='ofxclient',
keyring_available=KEYRING_AVAILABLE, **kwargs):
if sys.version_info >= (3,):
# python 3
ConfigParser.__init__(self, interpolation=None)
else:
# python 2
ConfigParser.__init__(self)
ConfigParser.__init__(self, interpolation=None)
self.keyring_name = keyring_name
self.keyring_available = keyring_available
self._unsaved = {}
Expand Down

0 comments on commit 0a3301d

Please sign in to comment.