diff options
| author | Jules <jules@asdf.us> | 2017-12-31 04:43:30 -0500 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2017-12-31 04:43:30 -0500 |
| commit | b1b54617e5de1697f4e950f9b0ee844166894224 (patch) | |
| tree | 43173b8e16064721a3e84c49979638b569ec8fe6 | |
| parent | c1975b505d5adff9421a03be980e22884d0d7b65 (diff) | |
| parent | aaa2730cc1b3665475faaa59e9d0292dc1f2c0f4 (diff) | |
Merge branch 'master' of ghghgh.us:scannerjammer
| -rwxr-xr-x | backend/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/views.py b/backend/views.py index 1d7d431..971ecd3 100755 --- a/backend/views.py +++ b/backend/views.py @@ -286,6 +286,7 @@ def store_media_str(room, user, msg): music = None image = None for word in words: + word = word.replace("https", "http") if 'youtube.com' in word: ytid = '' match = YT_ID_RE.match(word) |
