fix usage of dedent
This commit is contained in:
@@ -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("""<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
svg = textwrap.dedent("""\
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="64" height="64" viewBox="0 0 128 128" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
||||
<defs>
|
||||
<linearGradient id="bg1" x1="0%" y1="100%" x2="100%" y2="0%">
|
||||
|
||||
Reference in New Issue
Block a user