Skip to content

Commit

Permalink
save returns path (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Letellier-Duchesne authored May 26, 2021
1 parent 6d99f43 commit 35df41a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trnsystor/deck.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def to_file(self, path_or_buf, encoding=None, mode="w"):
if path_or_buf is None:
return formatter.path_or_buf.getvalue()

return None
return path_or_buf

def save(self, path_or_buf, encoding=None, mode="w"):
"""Save Deck to file.
Expand Down

0 comments on commit 35df41a

Please sign in to comment.