Use new-style classes.

This commit is contained in:
Alessio Treglia 2011-12-08 10:36:04 +01:00
parent 5dd18f38da
commit affc44313a
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if not exists (config_dir):
# Note to users of the config class. Only applications should create an instance
# of the config object. The ladimenu is *NOT* an application...
class config:
class config(object):
def __init__ (self):
try:
with open (config_filename) as config_file: