Skip to content

Commit

Permalink
Merge pull request cloudflare#1 from phntom/phntom-patch-dash-typo-cl…
Browse files Browse the repository at this point in the history
…oudflare-py

typo in cloudflare.py
  • Loading branch information
phntom committed Mar 2, 2022
2 parents 4c80399 + dd6d802 commit 578a26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CloudFlare/cloudflare.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def add(self, t, p1, p2=None, p3=None):
for element in a[0:-1]:
try:
if '-' in element:
branch = getattr(element, element.replace('-','_'))
branch = getattr(branch, element.replace('-','_'))
else:
branch = getattr(branch, element)
except:
Expand Down

0 comments on commit 578a26b

Please sign in to comment.