From f940f4bcb7de5f2a85d05d02db4d9100309f5a9b Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 19 Apr 2022 20:28:19 +0200 Subject: [PATCH] fds --- files/routes/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index e1011ea9e..884dd9f15 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -825,12 +825,12 @@ def settings_song_change(v): return render_template("settings_profile.html", v=v, error="Can't use a live youtube video!") if "H" in duration: - return render_template("settings_profile.html", v=v, error="Duration of the video must not exceed 10 minutes.") + return render_template("settings_profile.html", v=v, error="Duration of the video must not exceed 15 minutes.") if "M" in duration: duration = int(duration.split("PT")[1].split("M")[0]) - if duration > 10: - return render_template("settings_profile.html", v=v, error="Duration of the video must not exceed 10 minutes.") + if duration > 15: + return render_template("settings_profile.html", v=v, error="Duration of the video must not exceed 15 minutes.") if v.song and path.isfile(f"/songs/{v.song}.mp3") and g.db.query(User.id).filter_by(song=v.song).count() == 1: