Skip to content

Commit

Permalink
invalid escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Nov 27, 2023
1 parent 3caaee5 commit 6eabfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def record_vcs_info():
lines = fdata.splitlines()
for i, line in enumerate(lines):
if line.startswith("%define release "):
lines[i] = f"%define release 1.r{rev}%\{{?dist\}}"
lines[i] = f"%define release 1.r{rev}%{{?dist}}"
break
lines.append("")
open("./packaging/rpm/xpra-html5.spec", "w", encoding="latin1").write("\n".join(lines))
Expand Down

0 comments on commit 6eabfae

Please sign in to comment.