mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +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.
|
||||
"""
|
||||
|
||||
cwd = os.path.normpath(cwd)
|
||||
if cwd:
|
||||
cwd = os.path.normpath(cwd)
|
||||
|
||||
if output:
|
||||
if cwd:
|
||||
|
Loading…
Reference in New Issue
Block a user