id
This commit is contained in:
parent
f9400ae0d6
commit
4b0a534112
1 changed files with 7 additions and 1 deletions
|
@ -51,7 +51,13 @@ def build():
|
|||
'--verify', signature, pdf,
|
||||
]).decode('u8').splitlines()
|
||||
using = lines[1].index('using')
|
||||
lines = [lines[0][:using] + lines[1][using:]] + lines[2:]
|
||||
id = lines[2].index('"')
|
||||
lines = [
|
||||
lines[0][:using] + lines[1][using:],
|
||||
lines[2][:id] + lines[4][id:]
|
||||
.replace('@', ' @ ')
|
||||
.replace('.', ' ⋅ ')
|
||||
] + lines[5:]
|
||||
buffer = os.linesep.join(lines).encode('u8')
|
||||
with open(f'{pdf}.vrf', 'bw') as f:
|
||||
f.write(buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue