Skip to content

Commit

Permalink
fixed spacing of separator when saving special keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelLucaAdams committed Jul 23, 2024
1 parent 79a7837 commit ee5fd73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/epydeck/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def loads(text: str) -> dict:


def _dump_line(fh: TextIOBase, key: str, value):
separator = ":" if key in special_keywords else " ="
separator = ":" if key in special_keywords else " = "
if isinstance(value, bool):
value = "T" if value else "F"
fh.write(f" {key}{separator} {value}\n")
fh.write(f" {key}{separator}{value}\n")


def _dump_block(fh: TextIOBase, name: str, block: dict):
Expand Down

0 comments on commit ee5fd73

Please sign in to comment.