changed main
This commit is contained in:
2
main.py
2
main.py
@@ -51,7 +51,7 @@ def all_to_translate(_dir):
|
||||
to_file: str = ''
|
||||
for _file in _files:
|
||||
_strings = pars_file(_file)
|
||||
if len(_strings) > 0: _file, to_file = '\n', _strings, '\n', len(_strings), '\n\n\n'
|
||||
if len(_strings) > 0: to_file = f'{_file}\n {_strings} \n {len(_strings)}\n\n\n'
|
||||
with open('test.txt', 'w') as f:
|
||||
f.write(to_file)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user