mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-21 05:28:31 +02:00
Add tracers after last tracer Travis was hanging on in last commit
This commit is contained in:
parent
84569e590c
commit
6777ab0329
1 changed files with 3 additions and 0 deletions
|
@ -164,6 +164,7 @@ def verify_config(config):
|
||||||
|
|
||||||
|
|
||||||
def get_text_from_editor(config, template=""):
|
def get_text_from_editor(config, template=""):
|
||||||
|
print("get_text_from_editor", file=sys.stderr)
|
||||||
filehandle, tmpfile = tempfile.mkstemp(prefix="jrnl", text=True, suffix=".txt")
|
filehandle, tmpfile = tempfile.mkstemp(prefix="jrnl", text=True, suffix=".txt")
|
||||||
os.close(filehandle)
|
os.close(filehandle)
|
||||||
|
|
||||||
|
@ -172,6 +173,8 @@ def get_text_from_editor(config, template=""):
|
||||||
f.write(template)
|
f.write(template)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
print("try subprocess.call in get_text_from_editor", file=sys.stderr)
|
||||||
|
print(shlex.split(config["editor"], posix="win32" not in sys.platform) + [tmpfile])
|
||||||
subprocess.call(
|
subprocess.call(
|
||||||
shlex.split(config["editor"], posix="win32" not in sys.platform) + [tmpfile]
|
shlex.split(config["editor"], posix="win32" not in sys.platform) + [tmpfile]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue