fix very stupid parser bug
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 23 May 2008 09:45:41 +0000 (11:45 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Fri, 23 May 2008 09:45:41 +0000 (11:45 +0200)
dbparse.py

index cee8d20..3826ab0 100644 (file)
@@ -46,7 +46,7 @@ class DBParser(object):
         try:
             start, end = freqs.split('-')
             start = float(start)
-            end = float(start)
+            end = float(end)
         except ValueError:
             self._syntax_error("band must have frequency range")