Skip to content

Commit

Permalink
fix config dir not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaareth committed Mar 5, 2021
1 parent f44b7aa commit e6d4133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions konsave/vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
export_extension = '.knsv'

if not os.path.exists(KONSAVE_DIR):
os.mkdir(KONSAVE_DIR)
os.makedirs(KONSAVE_DIR)

if not os.path.exists(PROFILES_DIR):
os.mkdir(PROFILES_DIR)
os.makedirs(PROFILES_DIR)

list_of_profiles = os.listdir(PROFILES_DIR)
length_of_lop = len(list_of_profiles)

0 comments on commit e6d4133

Please sign in to comment.