Remove 3rd arg from Hud module loader

Mea culpa
This commit is contained in:
Worros 2009-03-14 11:06:47 +09:00
parent d3103f099e
commit 9cdfa5f279

View File

@ -46,10 +46,10 @@ import Database
import HUD_main
import Utils
def importName(module_name, name, params):
def importName(module_name, name):
"""Import a named object 'name' from module 'module_name'."""
# Recipe 16.3 in the Python Cookbook, 2nd ed. Thanks!!!!
# Modded by Carl G to support additional params
try:
module = __import__(module_name, globals(), locals(), [name])
except: