mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 11:09:26 +00:00
make path absolute
This commit is contained in:
@@ -11,7 +11,7 @@ from tqdm.auto import tqdm
|
|||||||
|
|
||||||
import cclicense
|
import cclicense
|
||||||
|
|
||||||
environment = Environment(loader=FileSystemLoader("templates/"))
|
environment = Environment(loader=FileSystemLoader(os.path.join(os.path.abspath(os.path.dirname(__file__)), "templates/")))
|
||||||
|
|
||||||
_ROOT = "/data/pictures/"
|
_ROOT = "/data/pictures/"
|
||||||
_WEBROOT = "https://pictures.example.com/"
|
_WEBROOT = "https://pictures.example.com/"
|
||||||
|
|||||||
Reference in New Issue
Block a user