fix data path
linuxscout opened this issue · comments
Fix the following error:
Fatal Error Can't find the database file ./interfaces/gui/data/collocations.sqlite
Exception AttributeError: "collocationDictionary instance has no attribute 'dbConnect'" in <bound method collocationDictionary.del of <maskouk.collocationdictionary.collocationDictionary instance at 0x7f41d7b67440>> ignored
Fatal Error Can't find the database file ./interfaces/gui/data/collocations.sqlite
Exception AttributeError: "collocationDictionary instance has no attribute 'dbConnect'" in <bound method collocationDictionary.del of <maskouk.collocationdictionary.collocationDictionary instance at 0x7f41d6acb128>> ignored
Exception AttributeError: "collocationDictionary instance has no attribute 'dbConnect'" in <bound method collocationDictionary.del of <maskouk.collocationdictionary.collocationDictionary instance at 0x7f41d6acb128>> ignored
use os.path.dirname(file)