Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
log update
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinjosegeorge committed Feb 16, 2022
1 parent 7e16f0d commit fcbf5ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BOT.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ async def on_ready():
print("Instagram running at PID : ", child)
while psutil.pid_exists(parent):
await push_ig_embed(client)
print("Instagram PID going for a sleep...")
sleep(3600) # sleep for 1 hour
print("Parent process was killed. Killing child process now...")
exit()
Expand Down

0 comments on commit fcbf5ac

Please sign in to comment.