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