Skip to content

Commit 5219262

Browse files
Update utils/gui_utils.py
Co-authored-by: Callum Leslie <[email protected]>
1 parent 6fe9caa commit 5219262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/gui_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def delete_background(key):
162162
# Add background video
163163
def add_background(youtube_uri, filename, citation, position):
164164
# Validate YouTube URI
165-
regex = re.compile(r"(?:\/|%3D|v=|vi=)([0-9A-z-_]{11})(?:[%#?&]|$)").search(
165+
regex = re.compile(r"(?:\/|%3D|v=|vi=)([0-9A-z\-_]{11})(?:[%#?&]|$)").search(
166166
youtube_uri
167167
)
168168

0 commit comments

Comments
 (0)