mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-14 11:00:10 +01:00
Don't crash if cwd==None
This commit is contained in:
parent
6e89e68f76
commit
e5915072c0
@ -1385,7 +1385,8 @@ def FDroidPopen(commands, cwd=None, output=True):
|
|||||||
:returns: A PopenResult.
|
:returns: A PopenResult.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
cwd = os.path.normpath(cwd)
|
if cwd:
|
||||||
|
cwd = os.path.normpath(cwd)
|
||||||
|
|
||||||
if output:
|
if output:
|
||||||
if cwd:
|
if cwd:
|
||||||
|
Loading…
Reference in New Issue
Block a user