mirror of
https://github.com/ieshuelin/cyr3a25.git
synced 2026-06-06 01:16:48 +00:00
Update main.py
This commit is contained in:
4
main.py
4
main.py
@@ -40,7 +40,7 @@ for fname in glob.glob('./webs/**/*.zip'):
|
||||
shutil.move(f'{dist_loc}/{dirs}', dist_loc)
|
||||
shutil.rmtree(f'{dist_loc}/{root_zip_dir}')
|
||||
|
||||
html_path_list.append(f'<li><a href="/{owner}">{owners} (/{owner})</a></li>')
|
||||
html_path_list.append(f'<li><a href="/{owner}" target="_blank">{owners} (/{owner})</a></li>')
|
||||
|
||||
|
||||
with open('template.html', 'r') as template:
|
||||
@@ -50,4 +50,4 @@ with open('template.html', 'r') as template:
|
||||
str_path_list = '\n'.join(html_path_list)
|
||||
final_index.write(template_text.replace('{{LIST}}', str_path_list))
|
||||
|
||||
print('Todo listo')
|
||||
print('Todo listo')
|
||||
|
||||
Reference in New Issue
Block a user