diff --git a/earwigbot/wiki/sitesdb.py b/earwigbot/wiki/sitesdb.py index 3a53531..d17c965 100644 --- a/earwigbot/wiki/sitesdb.py +++ b/earwigbot/wiki/sitesdb.py @@ -239,7 +239,7 @@ class SitesDB(object): if site: return site[0] else: - url = "%{0}.{1}%".format(lang, project) + url = "//{0}.{1}.%".format(lang, project) site = conn.execute(query2, (url,)).fetchone() return site[0] if site else None except sqlite.OperationalError: