Skip to content

Commit

Permalink
Fixing typos in error_handler calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Merola authored and IcEBnd committed Apr 8, 2011
1 parent 1a47136 commit 0cfc1f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion plugin_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def reload_plugin_modules():
try:
reload(module)
except:
error_handler.output_string('error when reloading module ' + str(module.__name__) + ' ' + str(sys.exc_info()) + ' ' + str(traceback.extract_tb(sys.exc_info()[2])))
error_handler.output_message('error when reloading module ' + str(module.__name__) + ' ' + str(sys.exc_info()) + ' ' + str(traceback.extract_tb(sys.exc_info()[2])))

def search_for_subclasses(c):
l = [c]
Expand Down
1 change: 0 additions & 1 deletion plugins/mat.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def menu(location):
pass # Odd input or bad regex
elif dish_name.find(">") != -1:
error_handler.output_message("Hmm, 'mat' got an odd dish from " + location + ": " + dish_name)

elif dish[dish_price_index]:
# Price found, let's add it
dishes.append(dish_name + " (" + dish[dish_price_index] + " kr)")
Expand Down

0 comments on commit 0cfc1f6

Please sign in to comment.