From d4eabcebcaa8d5088c66ed9af9996729696bcbca Mon Sep 17 00:00:00 2001 From: Et0h Date: Thu, 18 Jun 2015 21:22:41 +0100 Subject: [PATCH] Expand definition of URL --- syncplay/utils.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/syncplay/utils.py b/syncplay/utils.py index ceb54d4..86a2d85 100644 --- a/syncplay/utils.py +++ b/syncplay/utils.py @@ -222,10 +222,7 @@ def isURL(path): if path is None: return False - if "http://" in path: - return True - - elif "https://" in path: + if "://" in path: return True class RoomPasswordProvider(object):