makedirs, not mkdirs

This commit is contained in:
Kevin Froman 2019-05-12 09:44:02 -05:00
parent b49199c7d1
commit e8baafa3b8

View File

@ -97,7 +97,7 @@ def check():
''' '''
if not os.path.exists(os.path.dirname(get_config_file())): if not os.path.exists(os.path.dirname(get_config_file())):
os.path.makedirs(os.path.dirname(get_config_file())) os.makedirs(os.path.dirname(get_config_file()))
if not os.path.isfile(get_config_file()): if not os.path.isfile(get_config_file()):
open(get_config_file(), 'a', encoding="utf8").close() open(get_config_file(), 'a', encoding="utf8").close()
save() save()