This commit is contained in:
Micaiah Parker 2018-08-11 08:02:46 -04:00
parent 3f327f25a1
commit 66f623c467
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
from .directories import get_character_dir
def make_character(name, character_data, exist_ok=False):
char_file = get_character_dir().joinpath(name)
if char_file.exists() and not exist_ok: