Browse Source

more nitpicking

tags/v0.1
Ben Kurtovic 13 years ago
parent
commit
87d3e9a74a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      irc/command_handler.py
  2. +1
    -1
      irc/commands/tasks.py

+ 1
- 1
irc/command_handler.py View File

@@ -61,6 +61,6 @@ def check(hook, data):
try: try:
command.process(data) command.process(data)
except: except:
print "Error executing command {}:".format(data.command)
print "Error executing command '{}':".format(data.command)
traceback.print_exc() # catch exceptions and print them traceback.print_exc() # catch exceptions and print them
break break

+ 1
- 1
irc/commands/tasks.py View File

@@ -85,7 +85,7 @@ class Tasks(BaseCommand):
elif len(ids) == 1: elif len(ids) == 1:
tasklist.append("\x0302{}\x0301 (\x02active\x0F as id {})".format(task, ids[0])) tasklist.append("\x0302{}\x0301 (\x02active\x0F as id {})".format(task, ids[0]))
else: else:
tasklist.append("\x0302{}\x0301 (\x02active\x0F as ids {})".format(task, ' ,'.join(ids)))
tasklist.append("\x0302{}\x0301 (\x02active\x0F as ids {})".format(task, ', '.join(ids)))
tasklist = ", ".join(tasklist) tasklist = ", ".join(tasklist)


Loading…
Cancel
Save