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,6 +1385,7 @@ def FDroidPopen(commands, cwd=None, output=True):
|
|||
:returns: A PopenResult.
|
||||
"""
|
||||
|
||||
if cwd:
|
||||
cwd = os.path.normpath(cwd)
|
||||
|
||||
if output:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue