Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Oct 17, 2016
1 parent 1d41949 commit 00ef9f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CloudFlare/read_configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ def read_configs():

if email is None:
try:
email = re.sub(r"\s+", '', config.get('Cloudflare', 'email'))
email = re.sub(r"\s+", '', config.get('CloudFlare', 'email'))
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
email = None

if token is None:
try:
token = re.sub(r"\s+", '', config.get('Cloudflare', 'token'))
token = re.sub(r"\s+", '', config.get('CloudFlare', 'token'))
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
token = None

if certtoken is None:
try:
certtoken = re.sub(r"\s+", '', config.get('Cloudflare', 'certtoken'))
certtoken = re.sub(r"\s+", '', config.get('CloudFlare', 'certtoken'))
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
certtoken = None

if extras is None:
try:
extras = re.sub(r"\s+", ' ', config.get('Cloudflare', 'extras'))
extras = re.sub(r"\s+", ' ', config.get('CloudFlare', 'extras'))
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
extras = None

Expand Down

0 comments on commit 00ef9f8

Please sign in to comment.