Merge pull request #15 from marduk191/master

fix to import asyncio.
master
Dave 2024-10-27 19:03:09 +01:00 committed by GitHub
commit b3767a195f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -3,8 +3,12 @@ from modules import shared
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"
@ -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)