fix bad placement of expanduser()
This commit is contained in:
parent
e58d89c7b7
commit
5c4e5f1d6c
1 changed files with 3 additions and 3 deletions
|
@ -465,10 +465,10 @@ class TargetAndroid(Target):
|
|||
cmd = self.buildozer.cmd
|
||||
self.pa_dir = pa_dir = join(self.buildozer.platform_dir,
|
||||
self.p4a_directory)
|
||||
system_p4a_dir = expanduser(self.buildozer.config.getdefault('app',
|
||||
'android.p4a_dir'))
|
||||
system_p4a_dir = self.buildozer.config.getdefault('app',
|
||||
'android.p4a_dir')
|
||||
if system_p4a_dir:
|
||||
self.pa_dir = pa_dir = system_p4a_dir
|
||||
self.pa_dir = pa_dir = expanduser(system_p4a_dir)
|
||||
if not self.buildozer.file_exists(pa_dir):
|
||||
self.buildozer.error(
|
||||
'Path for android.p4a_dir does not exist')
|
||||
|
|
Loading…
Reference in a new issue