Imported from archive.
[mudpy.git] / lib / muff / muffconf.py
index 077f5b4..0e7c709 100644 (file)
@@ -18,7 +18,7 @@ for module in muff.__all__:
 config_dirs = [".", "./etc", "/usr/local/muff", "/usr/local/muff/etc", "/etc/muff", "/etc" ]
 
 # name of the config file
-config_name = "muff.conf"
+config_name = "mudpy.conf"
 
 # find the config file
 for each_dir in config_dirs:
@@ -43,5 +43,5 @@ def getint(section, option):
 
 def set(section, option, value):
        """Convenienve function to set miscellaneous configuration data."""
-       return muffmisc.setlong(config_data, section, option, value)
+       return config_data.get(section, option, repr(value))