mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Update features/steps/core.py
Co-Authored-By: pspeter <peter.schmidb@gmail.com>
This commit is contained in:
parent
9b0ebb7d84
commit
68772d3afe
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def open_editor_and_enter(context, text=""):
|
|||
print("open_editor_and_enter called")
|
||||
def _mock_editor_function(command):
|
||||
print("_mock_editor_function called")
|
||||
tmpfile = command.split()[-1]
|
||||
tmpfile = command[-1]
|
||||
print("TMPFILE:", tmpfile)
|
||||
with open(tmpfile, "w+") as f:
|
||||
f.write(text)
|
||||
|
|
Loading…
Add table
Reference in a new issue