mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
parent
c887a6f7d8
commit
0a36171999
13 changed files with 973 additions and 1246 deletions
|
@ -82,6 +82,8 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
|
|||
ret = re.sub('<(.+) +/>', r'<\1/>', ret)
|
||||
|
||||
if ret != orig:
|
||||
print(f'Tip: run this script to apply the fix: `python {__file__} {filename}`', file=sys.stderr)
|
||||
|
||||
f.seek(0)
|
||||
f.write(ret)
|
||||
f.truncate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue