mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-19 04:20:23 +01:00
Fix for case when there is no archiver found on the system
This commit is contained in:
@@ -92,6 +92,10 @@ def extract_archive(arch_name, show_gui_message, message_text):
|
||||
|
||||
try:
|
||||
subprocess.check_call(cmd + [arch_name])
|
||||
except OSError:
|
||||
sys.stderr.write("Error executing `%s'.\n" % cmd)
|
||||
msg.close()
|
||||
return False
|
||||
except subprocess.CalledProcessError:
|
||||
sys.stderr.write("Error during extracting archive `%s'.\n" % arch_name)
|
||||
msg.close()
|
||||
|
||||
Reference in New Issue
Block a user