From b34bba25438f7a76122802715a112765d7e8fbdd Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Thu, 3 Sep 2020 19:45:11 -0700 Subject: [PATCH] ci-gui: print command line args if save3ds_fuse fails --- custominstall.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/custominstall.py b/custominstall.py index 7f0bc3b..ac78c81 100644 --- a/custominstall.py +++ b/custominstall.py @@ -10,6 +10,7 @@ from os.path import dirname, join, isdir, isfile from random import randint from hashlib import sha256 from locale import getpreferredencoding +from pprint import pformat from shutil import copyfile import sys from sys import platform, executable @@ -446,6 +447,9 @@ class CustomInstall: if out.returncode: for l in out.stdout.split('\n'): self.log(l) + self.log('Command line:') + for l in pformat(out.args).split('\n'): + self.log(l) return False for title_id, entry in title_info_entries.items(): @@ -463,6 +467,9 @@ class CustomInstall: if out.returncode: for l in out.stdout.split('\n'): self.log(l) + self.log('Command line:') + for l in pformat(out.args).split('\n'): + self.log(l) return False, False finalize_3dsx_orig_path = join(script_dir, 'custom-install-finalize.3dsx')