Expand definition of URL

This commit is contained in:
Et0h 2015-06-18 21:22:41 +01:00
parent aa0db2517b
commit d4eabcebca

View File

@ -222,10 +222,7 @@ def isURL(path):
if path is None: if path is None:
return False return False
if "http://" in path: if "://" in path:
return True
elif "https://" in path:
return True return True
class RoomPasswordProvider(object): class RoomPasswordProvider(object):