From eb38dc481e5d9d9af53491a29bc1dd88d58060ba Mon Sep 17 00:00:00 2001 From: David Dworken Date: Sun, 9 Nov 2014 16:48:32 -0500 Subject: [PATCH] Fix misasignment of variables --- LANs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LANs.py b/LANs.py index 00fc44d..6730141 100755 --- a/LANs.py +++ b/LANs.py @@ -671,8 +671,8 @@ class Parser(): if self.args.urlspy: tempURL = url - tempURL.split("?")[0] #Strip all data (e.g. www.google.com/?g=5 goes to www.google.com/) - tempURL.strip("/") #Strip all / + tempURL = tempURL.split("?")[0] #Strip all data (e.g. www.google.com/?g=5 goes to www.google.com/) + tempURL = tempURL.strip("/") #Strip all / fileFilterList = ['.jpg', '.jpeg', '.gif', '.png', '.css', '.ico', '.js', '.svg', '.woff'] printURL = True # default to printing URL for fileType in fileFilterList: