You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
349 B
10 lines
349 B
|
3 days ago
|
# -*- coding: utf-8 -*-
|
||
|
|
p = '.scratch/customer-e2e/seed-customer.py'
|
||
|
|
s = open(p, encoding='utf-8').read()
|
||
|
|
bs = chr(92) # backslash
|
||
|
|
before = s
|
||
|
|
s = s.replace(bs + bs + 'n== seed-ids.json', bs + 'n== seed-ids.json')
|
||
|
|
s = s.replace(bs + bs + 'n{"ALL GREEN"', bs + 'n{"ALL GREEN"')
|
||
|
|
open(p, 'w', encoding='utf-8').write(s)
|
||
|
|
print('replaced:', before != s)
|