~mapperr/trl

3dd651f8c9e3c932a7156884948b8d8c0081b124 — mapperr 2 years ago dba2207
Adjust tempfiles prefix
1 files changed, 1 insertions(+), 1 deletions(-)

M trullo.py
M trullo.py => trullo.py +1 -1
@@ 74,7 74,7 @@ def edit_card(card_to_edit: TrlCard = None) -> (str, str):
        clean_card_name = str(card_to_edit.raw_data['name']).replace('\n', '')
        card_description = card_to_edit.raw_data['desc']

    tmpfile_path = f'{tempfile.gettempdir()}/trl-{tempfile_suffix}'
    tmpfile_path = f'{tempfile.gettempdir()}/.trl-{tempfile_suffix}'
    with open(tmpfile_path, 'w') as fd:
        fd.writelines(
            f"# The line below is the card title, lines after that are the card description\n"