Update utils/gui_utils.py
Co-authored-by: Callum Leslie <git@cleslie.uk>
This commit is contained in:
1 parent
6fe9caaece
commit
521926213d
1 file changed
+1
-1
+1
-1
@@ -162,7 +162,7 @@ def delete_background(key):
|
||||
# Add background video
|
||||
def add_background(youtube_uri, filename, citation, position):
|
||||
# Validate YouTube URI
|
||||
regex = re.compile(r"(?:\/|%3D|v=|vi=)([0-9A-z-_]{11})(?:[%#?&]|$)").search(
|
||||
regex = re.compile(r"(?:\/|%3D|v=|vi=)([0-9A-z\-_]{11})(?:[%#?&]|$)").search(
|
||||
youtube_uri
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user