Fix update_qrc_files.py script

This commit is contained in:
Christophe Dumez 2011-09-24 11:15:03 +03:00
parent 15c3836a25
commit 94a23cf1d4
2 changed files with 9 additions and 8 deletions

View file

@ -25,12 +25,12 @@
<file>nova/engines/piratebay.png</file>
<file>nova/engines/vertor.py</file>
<file>nova/engines/btdigg.png</file>
<file>nova3/sgmllib3.py</file>
<file>nova3/nova2.py</file>
<file>nova3/novaprinter.py</file>
<file>nova3/socks.py</file>
<file>nova3/nova2dl.py</file>
<file>nova3/helpers.py</file>
<file>nova3/sgmllib3.py</file>
<file>nova3/engines/vertor.png</file>
<file>nova3/engines/kickasstorrents.png</file>
<file>nova3/engines/mininova.png</file>

View file

@ -47,7 +47,8 @@ lang_file.close()
# update search_engine directory
os.chdir('searchengine')
search_list = []
for root, dirs, files in os.walk('nova/'):
for nova_folder in ['nova/', 'nova3']:
for root, dirs, files in os.walk(nova_folder):
for file in files:
if file.startswith("__"):
continue