Fixes to get 'inventory' working again. Whoops.
This commit is contained in:
parent
a4b6973c7a
commit
b1bb2b7927
2 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import os, time
|
import os, time
|
||||||
|
import gameconf
|
||||||
import settings
|
import settings
|
||||||
import functions_general
|
import functions_general
|
||||||
import functions_db
|
import functions_db
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ def get_configvalue(configname):
|
||||||
try:
|
try:
|
||||||
return ConfigValue.objects.get(conf_key=configname).conf_value
|
return ConfigValue.objects.get(conf_key=configname).conf_value
|
||||||
except:
|
except:
|
||||||
functions_genera.log_errmsg("Unable to get config value for %s:\n%s" % (configname, (format_exc())))
|
functions_general.log_errmsg("Unable to get config value for %s:\n%s" % (configname, (format_exc())))
|
||||||
|
|
||||||
def set_configvalue(configname, newvalue):
|
def set_configvalue(configname, newvalue):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue