From 95486a0eda4024396ee13c682662a542ed9d2e38 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 30 Aug 2022 19:40:06 +0200 Subject: [PATCH] fix usage of dedent --- src/install.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/install.py b/src/install.py index 71aaee1..15803ab 100644 --- a/src/install.py +++ b/src/install.py @@ -32,7 +32,8 @@ def _linux_install_desktop_file(): if apps_dir.exists() and apps_dir.is_dir(): krowlog_desktop_file = apps_dir / "krowlog.desktop" if not krowlog_desktop_file.exists(): - desktop_file_data = textwrap.dedent("""[Desktop Entry] + desktop_file_data = textwrap.dedent("""\ + [Desktop Entry] Type=Application Version=1.5 Terminal=false @@ -63,7 +64,8 @@ def _linux_install_icon_to_path(path: Path): if not path.parent.exists(): path.parent.mkdir(parents=True, exist_ok=True) - svg = textwrap.dedent(""" + svg = textwrap.dedent("""\ +