loxodo
loxodo copied to clipboard
config.get_config_filename tries to return unset property
Running under cygwin,
Traceback (most recent call last):
File "./loxodo.py", line 13, in
get_config_filename is supposed to be a static method and it's calling on the instance 'config' which is not defined yet since we're still in the flow of init()
Can fix by changing line 140 from: base_path = os.path.dirname(config.get_basescript()) to base_path = os.path.dirname(unicode(file, sys.getfilesystemencoding()))
Needs an import sys at the top of config.py though.
Is there a cleaner way of doing this?