mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
use .as_posix()
This commit is contained in:
parent
86b053291d
commit
bf9cbc87a9
2 changed files with 4 additions and 4 deletions
|
|
@ -25,7 +25,7 @@ import sys
|
|||
import yaml
|
||||
from argparse import ArgumentParser
|
||||
import logging
|
||||
from pathlib import Path, PurePosixPath
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
from yaml import CSafeLoader as SafeLoader
|
||||
|
|
@ -192,7 +192,7 @@ def main():
|
|||
build.subdir = options.subdir
|
||||
build.gradle = ['yes']
|
||||
elif subdir:
|
||||
build.subdir = str(PurePosixPath(subdir))
|
||||
build.subdir = subdir.as_posix()
|
||||
build.gradle = ['yes']
|
||||
|
||||
if options.license:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue