You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
check_github_button_clicked_and_exit(cfg.sg.Popup("The 'ConversionRules' folder wasn't found next to this executable. You can get the missing folder from the Legacy Mod Converter GitHub repo.", title="Missing ConversionRules folder", custom_text="Go to GitHub"))
48
-
49
-
ifjson_files_found==0:
50
-
check_github_button_clicked_and_exit(cfg.sg.Popup("The 'ConversionRules' folder didn't contain any JSON files. You can get the JSON files from the Legacy Mod Converter GitHub repo.", title="Missing JSON files", custom_text="Go to GitHub"))
# This stackoverflow's question answers itself in the question with the solution to getting rid of "libpng warning: iCCP: known incorrect sRGB profile".
47
+
# https://stackoverflow.com/q/11130156/13279557
48
+
classsuppress_stdout_stderr(object):
49
+
'''
50
+
A context manager for doing a "deep suppression" of stdout and stderr in
51
+
Python, i.e. will suppress all print, even if the print originates in a
52
+
compiled C/Fortran sub-function.
53
+
This will not suppress raised exceptions, since exceptions are printed
54
+
to stderr just before a script exits, and after the context manager has
55
+
exited (at least, I think that is why it lets exceptions through).
check_github_button_clicked_and_exit(cfg.sg.Popup("The 'ConversionRules' folder wasn't found next to this executable. You can get the missing folder from the Legacy Mod Converter GitHub repo.", title="Missing ConversionRules folder", custom_text="Go to GitHub"))
31
+
32
+
ifjson_files_found==0:
33
+
check_github_button_clicked_and_exit(cfg.sg.Popup("The 'ConversionRules' folder didn't contain any JSON files. You can get the JSON files from the Legacy Mod Converter GitHub repo.", title="Missing JSON files", custom_text="Go to GitHub"))
0 commit comments