Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 00ef9f8

Browse files
committed
typo
1 parent 1d41949 commit 00ef9f8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

CloudFlare/read_configs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ def read_configs():
2323

2424
if email is None:
2525
try:
26-
email = re.sub(r"\s+", '', config.get('Cloudflare', 'email'))
26+
email = re.sub(r"\s+", '', config.get('CloudFlare', 'email'))
2727
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
2828
email = None
2929

3030
if token is None:
3131
try:
32-
token = re.sub(r"\s+", '', config.get('Cloudflare', 'token'))
32+
token = re.sub(r"\s+", '', config.get('CloudFlare', 'token'))
3333
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
3434
token = None
3535

3636
if certtoken is None:
3737
try:
38-
certtoken = re.sub(r"\s+", '', config.get('Cloudflare', 'certtoken'))
38+
certtoken = re.sub(r"\s+", '', config.get('CloudFlare', 'certtoken'))
3939
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
4040
certtoken = None
4141

4242
if extras is None:
4343
try:
44-
extras = re.sub(r"\s+", ' ', config.get('Cloudflare', 'extras'))
44+
extras = re.sub(r"\s+", ' ', config.get('CloudFlare', 'extras'))
4545
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
4646
extras = None
4747

0 commit comments

Comments
 (0)