Remove 3rd arg from Hud module loader
Mea culpa
This commit is contained in:
parent
d3103f099e
commit
9cdfa5f279
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user