1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 22:40:12 +01:00

Merge branch 'pathlib' into 'master'

fix tests for !935

See merge request fdroid/fdroidserver!942
This commit is contained in:
Jochen Sprickerhof 2021-06-07 15:45:34 +00:00
commit 15a15420f7

View File

@ -14,7 +14,7 @@ from pathlib import Path
localmodule = Path(__file__).resolve().parent.parent
print('localmodule: ' + str(localmodule))
if localmodule not in sys.path:
sys.path.insert(0, localmodule)
sys.path.insert(0, str(localmodule))
import fdroidserver.checkupdates
import fdroidserver.metadata