Skip to content

Commit 439ee57

Browse files
committed
More fixes to warnings.py
1 parent d9cbd83 commit 439ee57

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"": ""
3-
}
1+
{}

Python/convert.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ def convert():
3232
input_folder_path = cfg.sg.user_settings_get_entry("input_folder")
3333
cccp_folder_path = cfg.sg.user_settings_get_entry("cccp_folder")
3434

35-
warnings.init_mods_warnings()
36-
3735
zips_py.unzip(input_folder_path)
3836

3937
update_progress.set_max_progress(input_folder_path)
@@ -63,9 +61,6 @@ def converter_walk(input_folder_path, output_folder_path):
6361
for input_subfolder_path, input_subfolders, input_subfiles in os.walk(input_folder_path):
6462
relative_subfolder = utils.get_relative_subfolder(input_folder_path, input_subfolder_path)
6563

66-
if utils.is_mod_folder(relative_subfolder):
67-
warnings.clear_mod_warnings()
68-
6964
if utils.is_mod_folder_or_subfolder(relative_subfolder):
7065
output_subfolder = os.path.join(output_folder_path, relative_subfolder)
7166
create_folder(input_subfolder_path, output_subfolder)

0 commit comments

Comments
 (0)