Commit 2dd43901f6b1a119192c6be0de5891f331bf8cbb
1 parent
c2cbd719
Create_walenty script bugfix.
Showing
1 changed file
with
2 additions
and
2 deletions
dictionary/management/commands/create_walenty.py
@@ -121,8 +121,8 @@ def create_pos_archive_and_get_stats(archive, pos, filename_base): | @@ -121,8 +121,8 @@ def create_pos_archive_and_get_stats(archive, pos, filename_base): | ||
121 | checked_stats_filename = os.path.basename(checked_stats_path) | 121 | checked_stats_filename = os.path.basename(checked_stats_path) |
122 | archive.add(name=checked_stats_filename, arcname=os.path.join(u'%ss' % pos.tag, checked_stats_filename)) | 122 | archive.add(name=checked_stats_filename, arcname=os.path.join(u'%ss' % pos.tag, checked_stats_filename)) |
123 | finally: | 123 | finally: |
124 | -# os.remove(walenty_path_ready) | ||
125 | -# os.remove(walenty_path_checked) | 124 | + os.remove(walenty_path_ready) |
125 | + os.remove(walenty_path_checked) | ||
126 | os.remove(all_stats_path) | 126 | os.remove(all_stats_path) |
127 | os.remove(checked_stats_path) | 127 | os.remove(checked_stats_path) |
128 | return {'all': all_stats, | 128 | return {'all': all_stats, |