mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
all ndk paths in config must be strings
The paths in the config must be strings because they are used in things like env vars where they must be strings. Plus lots of other places in the code assumes they are strings. This is the first step to defining the border of where paths can be pathlib.Path() and where they must be strings.
This commit is contained in:
parent
898624dcac
commit
36d2a8f899
4 changed files with 45 additions and 2 deletions
|
|
@ -116,6 +116,7 @@ env = None
|
|||
orig_path = None
|
||||
|
||||
|
||||
# All paths in the config must be strings, never pathlib.Path instances
|
||||
default_config = {
|
||||
'sdk_path': "$ANDROID_HOME",
|
||||
'ndk_paths': {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue