mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Always run normpath on cwd in FDroidPopen
This commit is contained in:
parent
1e80ebef6d
commit
ff87af1933
1 changed files with 2 additions and 0 deletions
|
@ -1385,6 +1385,8 @@ def FDroidPopen(commands, cwd=None, output=True):
|
|||
:returns: A PopenResult.
|
||||
"""
|
||||
|
||||
cwd = os.path.normpath(cwd)
|
||||
|
||||
if output:
|
||||
if cwd:
|
||||
logging.info("Directory: %s" % cwd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue