Another fix for speed filters in HistoryForm
[ais.git] / bin / djais / views.py
index 2e9d993f7d7bf7c4c4e13bd6a613d8928fcec843..e5d568872ff5a10859752b66df359f5d201508cc 100644 (file)
@@ -253,11 +253,11 @@ class HistoryForm(forms.Form):
 
         filter_sog_le = data.get('filter_sog_le', None)
         if filter_sog_le:
-            command += u' --filter_sog_le ' + unicode(filter_sog_le)
+            command += u' --filter-sog-le ' + unicode(filter_sog_le)
 
         filter_sog_ge = data.get('filter_sog_ge', None)
         if filter_sog_ge:
-            command += u' --filter_sog_ge ' + unicode(filter_sog_ge)
+            command += u' --filter-sog-ge ' + unicode(filter_sog_ge)
 
         return command, extension