Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def file_exists(self):
- if self.api_data["exists"]:
- return self.api_data["exists"]
- elif self.html[0] and re.search(r"The file has been deleted", self.html[0]) == None:
- return True
- return False
Add Comment
Please, Sign In to add comment