mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Don't crash if cwd==None
This commit is contained in:
parent
6e89e68f76
commit
e5915072c0
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue