mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-12 15:50:01 -08:00
Fixing erros per github python test
This commit is contained in:
@@ -515,7 +515,7 @@ def provider_anime_episode_servers_menu(
|
||||
current_episode_number,
|
||||
)
|
||||
# update discord activity for user
|
||||
if config.discord == True:
|
||||
if config.discord:
|
||||
switch = threading.Event()
|
||||
discord_proc = threading.Thread(target=discord_updater, args=(provider_anime_title,current_episode_number,switch))
|
||||
discord_proc.start()
|
||||
@@ -603,7 +603,7 @@ def provider_anime_episode_servers_menu(
|
||||
print("Finished at: ", stop_time)
|
||||
|
||||
# stop discord activity updater
|
||||
if config.discord == True:
|
||||
if config.discord:
|
||||
switch.set()
|
||||
|
||||
# update_watch_history
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import re
|
||||
|
||||
SERVERS_AVAILABLE = [
|
||||
"sharepoint",
|
||||
"dropbox",
|
||||
@@ -19,7 +21,6 @@ DEFAULT_PER_PAGE = 40
|
||||
DEFAULT_PAGE = 1
|
||||
|
||||
# regex stuff
|
||||
import re
|
||||
|
||||
MP4_SERVER_JUICY_STREAM_REGEX = re.compile(
|
||||
r"video/mp4\",src:\"(https?://.*/video\.mp4)\""
|
||||
|
||||
Reference in New Issue
Block a user