Skip to content

Commit

Permalink
Imagine making breaking changes to your api minutes after the wrapper…
Browse files Browse the repository at this point in the history
… is uploaded to pypi
  • Loading branch information
ICTman1076 committed Feb 2, 2021
1 parent ec6b570 commit f096817
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions orpim_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ def __init__(self, data, target=None):
self.rawData = data
if target != None:
self.id = None
self.sub = data["final_domain"].split(".")[0]
self.domain = ".".join(data["final_domain"].split(".")[1:])
self.link = data["final_link"]
self.sub = data["sub"]
self.domain = data["domain"]
self.link = data["link"]
self.target = target
self.user = None
self.disabled = None
Expand Down

0 comments on commit f096817

Please sign in to comment.