commit d18312a8630bcb7f03158e7e5f749bb96cd5b250
parent 87147c62d56856ce0987f52f0afd9760582e9052
Author: Marcel <MTRNord@users.noreply.github.com>
Date: Fri, 16 Dec 2016 22:36:34 +0100
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/__init__.py b/__init__.py
@@ -249,7 +249,7 @@ def iitc(bot, event, *args):
else:
if re.match(r'(http(s)?:\/\/)', url):
search = 'nix'
- zoomParameter = re.search(r"(?:&z=)", test_str, re.IGNORECASE)
+ zoomParameter = re.search(r"(?:&z=)", url, re.IGNORECASE)
if zoomParameter:
ZoomSearch = re.finditer(r"(?:&z=).*", url, flags=re.I)
for matchNum, zoomlevel_raw in enumerate(ZoomSearch):