mirror of
https://github.com/greflm13/StaticGalleryBuilder.git
synced 2026-02-05 02:59:27 +00:00
make path absolute
This commit is contained in:
@@ -11,7 +11,7 @@ from tqdm.auto import tqdm
|
||||
|
||||
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/"
|
||||
_WEBROOT = "https://pictures.example.com/"
|
||||
|
||||
Reference in New Issue
Block a user