mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Add debug statements
This commit is contained in:
parent
e63ae25433
commit
7dcc91431e
1 changed files with 2 additions and 0 deletions
|
@ -78,6 +78,8 @@ def open_editor_and_enter(context, text=""):
|
|||
print("TMPFILE:", tmpfile)
|
||||
with open(tmpfile, "w+") as f:
|
||||
f.write(text)
|
||||
|
||||
print("File contents:", open(tmpfile, "r").read())
|
||||
return tmpfile
|
||||
|
||||
with patch('subprocess.call', side_effect=_mock_editor_function):
|
||||
|
|
Loading…
Add table
Reference in a new issue