Skip to content

Commit

Permalink
Added delay so cookies set properly
Browse files Browse the repository at this point in the history
  • Loading branch information
edgar1016 committed Jan 10, 2024
1 parent 1d338de commit 4be8693
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nHentaiGUI/CookieHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,10 @@ def set_cookie_manually(self):
if self.cookie_command != "nhentai":
print(self.cookie_command)
subprocess.Popen(self.cookie_command, shell=True)
time.sleep(0.5)
if self.user_agent_command != "nhentai":
print(self.user_agent_command)
subprocess.Popen(self.user_agent_command, shell=True)
time.sleep(0.5)

self.close()

0 comments on commit 4be8693

Please sign in to comment.