Browse Source

batadv-vis is spelled with '-' not '_'

Helge Jung 9 years ago
parent
commit
2eb31c5081
1 changed files with 3 additions and 3 deletions
  1. 3 3
      ffstatus/batman.py

+ 3 - 3
ffstatus/batman.py

@@ -12,7 +12,7 @@ import string
 import StringIO
 
 class BatmanParser:
-	batadv_vis = 'batadv_vis'
+	batadv_vis = 'batadv-vis'
 	mactranslation = string.maketrans('2367abef', '014589cd')
 
 	def sanitycheck(self):
@@ -20,12 +20,12 @@ class BatmanParser:
 		try:
 			testdata = subprocess.check_output([self.batadv_vis, '-f', 'jsondoc'])
 		except Exception as err:
-			raise Exception("batadv_vis not found or incompatible: " + str(err))
+			raise Exception("batadv-vis not found or incompatible: " + str(err))
 
 		try:
 			check = json.loads(testdata)
 		except Exception as err:
-			raise Exception("batadv_vis does not return valid JSON data: " + str(err))
+			raise Exception("batadv-vis does not return valid JSON data: " + str(err))
 
 		return True