mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-02-04 19:11:55 -08:00
Moved where threading switch is created to remove error
This commit is contained in:
@@ -515,8 +515,8 @@ def provider_anime_episode_servers_menu(
|
||||
current_episode_number,
|
||||
)
|
||||
# update discord activity for user
|
||||
switch = threading.Event()
|
||||
if config.discord:
|
||||
switch = threading.Event()
|
||||
discord_proc = threading.Thread(target=discord_updater, args=(provider_anime_title,current_episode_number,switch))
|
||||
discord_proc.start()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user