Skip to content

Commit

Permalink
fix to import asyncio. working on 1.6 as of this commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marduk191 committed Oct 10, 2023
1 parent 42edc8c commit c38dfb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
import threading
import time
import os
import asyncio
from asyncio import WindowsProactorEventLoopPolicy
import pypresence

asyncio.set_event_loop_policy(WindowsProactorEventLoopPolicy())

github_link = "https://github.com/davehornik/sd-discord-rich_presence"
ver = "1.3.1"

Expand Down Expand Up @@ -146,4 +150,4 @@ def get_batch_size():
else:
return 0

script_callbacks.on_ui_tabs(on_ui_tabs)
script_callbacks.on_ui_tabs(on_ui_tabs)

0 comments on commit c38dfb5

Please sign in to comment.