Browse Source

ffpb.py: fixed !exec-on-peer output handling

Stefan Kloepping 10 years ago
parent
commit
0b299607e4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      modules/ffpb.py

+ 3 - 3
modules/ffpb.py

@@ -155,11 +155,11 @@ def ffpb_remoteexec(bot, trigger):
 			bot.say('exec-on-peer(' + target_name + '): No output')
 			return
 
-		msg = 'exec-on-peer(' + target_name + '): ' + str(len(lines))
+		msg = 'exec-on-peer(' + target_name + '): ' + str(len(lines)) + ' Zeilen'
 		if len(lines) > 8:
-			msg += ' Zeilen (zeige max. 8):')
+			msg += ' (zeige max. 8)')
 
-		bot.say(msg)
+		bot.say(msg + ':')
 
 		for line in lines[0:8]:
 			bot.say(line)