mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
Fix update_qrc_files.py script
This commit is contained in:
parent
15c3836a25
commit
94a23cf1d4
2 changed files with 9 additions and 8 deletions
|
@ -47,12 +47,13 @@ lang_file.close()
|
|||
# update search_engine directory
|
||||
os.chdir('searchengine')
|
||||
search_list = []
|
||||
for root, dirs, files in os.walk('nova/'):
|
||||
for file in files:
|
||||
if file.startswith("__"):
|
||||
continue
|
||||
if splitext(file)[-1] in ('.py', '.png'):
|
||||
search_list.append(join(root, file))
|
||||
for nova_folder in ['nova/', 'nova3']:
|
||||
for root, dirs, files in os.walk(nova_folder):
|
||||
for file in files:
|
||||
if file.startswith("__"):
|
||||
continue
|
||||
if splitext(file)[-1] in ('.py', '.png'):
|
||||
search_list.append(join(root, file))
|
||||
|
||||
output = '''<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue