Skip to content

Commit

Permalink
fix Regex
Browse files Browse the repository at this point in the history
  • Loading branch information
tastysugar committed Mar 11, 2023
1 parent 5f5f8a6 commit 37174b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OKPLogic.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def setCookies(self, cookies:str):

def addCookies(self, cookies:str):
c = self.textCookies.toPlainText()
cookies = re.sub(r"https://.", "https://", cookies)
cookies = re.sub(r"https://\.", "https://", cookies)
if c == "":
self.textCookies.setText(cookies)
else:
Expand Down

0 comments on commit 37174b4

Please sign in to comment.