mirror of
https://github.com/gryf/fs-uae-wrapper.git
synced 2025-12-19 20:38:06 +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:
|
try:
|
||||||
subprocess.check_call(cmd + [arch_name])
|
subprocess.check_call(cmd + [arch_name])
|
||||||
|
except OSError:
|
||||||
|
sys.stderr.write("Error executing `%s'.\n" % cmd)
|
||||||
|
msg.close()
|
||||||
|
return False
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
sys.stderr.write("Error during extracting archive `%s'.\n" % arch_name)
|
sys.stderr.write("Error during extracting archive `%s'.\n" % arch_name)
|
||||||
msg.close()
|
msg.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user