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:
commit
15a15420f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user