fix parse_url
authorThomasV <thomasv@gitorious>
Wed, 7 May 2014 16:34:00 +0000 (18:34 +0200)
committerThomasV <thomasv@gitorious>
Wed, 7 May 2014 16:34:00 +0000 (18:34 +0200)
lib/util.py

index c2c995f..10faf9d 100644 (file)
@@ -173,7 +173,7 @@ def parse_url(url):
         if len(v)!=1:
             raise Exception('Duplicate Key', k)
 
-    amount = label = message = ''
+    amount = label = message = request_url = ''
     if 'amount' in pq:
         am = pq['amount'][0]
         m = re.match('([0-9\.]+)X([0-9])', am)