mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 05:33:03 -05:00
Fix syntax error in old python version
This commit is contained in:
parent
eed271897f
commit
b49b4b1661
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ def librewolf_patches():
|
|||
target_path = target_path.with_name(target_path.name.replace(".inc", ""))
|
||||
write_mode = "a"
|
||||
|
||||
print(f"{source_path} {">" if write_mode == "w" else ">>"} {target_path}")
|
||||
print(f"{source_path} {'>' if write_mode == 'w' else '>>'} {target_path}")
|
||||
|
||||
with open(target_path, write_mode) as target_file:
|
||||
with open(source_path, "r") as source_file:
|
||||
|
|
Loading…
Reference in a new issue