+ legacyConfigFilePath = os.getenv('HOME') + '/.lilass.conf'
+ configDirectory = util.getConfigDirectory()
+ configFilePath = os.path.join(configDirectory, "lilass.conf")
+ if os.path.isfile(legacyConfigFilePath) and not os.path.isfile(configFilePath):
+ # looks like we just upgraded to a new version of lilass
+ util.mkdirP(configDirectory)
+ shutil.move(legacyConfigFilePath, configFilePath)
+ config = loadConfigFile(configFilePath)