# HG changeset patch # User Goffi # Date 1581288449 -3600 # Node ID a5457241c17fcbf3bdf3ff93bdb6bc78b362ee88 # Parent 54f6a47cc60a9c94b0dceeb8a2b9ccd399b41246 android: fixed tmp dir creation if parents don't exist, avoiding a crash. diff -r 54f6a47cc60a -r a5457241c17f cagou/core/platform_/android.py --- a/cagou/core/platform_/android.py Sun Feb 09 23:47:29 2020 +0100 +++ b/cagou/core/platform_/android.py Sun Feb 09 23:47:29 2020 +0100 @@ -89,7 +89,7 @@ # we reset tmp dir on each run, to be sure that there is no residual file if self.tmp_dir.exists(): shutil.rmtree(self.tmp_dir) - self.tmp_dir.mkdir(0o700) + self.tmp_dir.mkdir(0o700, parents=True) def on_initFrontendState(self): # XXX: we use a separated socket instead of bridge because if we