mirror of
https://github.com/ReviveMii/revivetube
synced 2025-04-29 12:39:25 -04:00
Update revivetube.py
This commit is contained in:
parent
f2b69ff8ac
commit
2ecd4a2eaf
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ def watch():
|
||||||
|
|
||||||
# User-Agent prüfen
|
# User-Agent prüfen
|
||||||
user_agent = request.headers.get("User-Agent", "").lower()
|
user_agent = request.headers.get("User-Agent", "").lower()
|
||||||
is_wii = "wii" in user_agent
|
is_wii = "wii" in user_agent and "wiiu" not in user_agent
|
||||||
|
|
||||||
# Video-Pfade
|
# Video-Pfade
|
||||||
video_mp4_path = os.path.join(VIDEO_FOLDER, f"{video_id}.mp4")
|
video_mp4_path = os.path.join(VIDEO_FOLDER, f"{video_id}.mp4")
|
||||||
|
|
Loading…
Add table
Reference in a new issue