mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
reformatted
This commit is contained in:
parent
a759971a1e
commit
23a6e28ad5
1 changed files with 2 additions and 2 deletions
|
@ -36,12 +36,12 @@ class ExportDatabase:
|
||||||
self.recipes = self.main_dir.joinpath("recipes")
|
self.recipes = self.main_dir.joinpath("recipes")
|
||||||
self.templates_dir = self.main_dir.joinpath("templates")
|
self.templates_dir = self.main_dir.joinpath("templates")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.templates = [app_dirs.TEMPLATE_DIR.joinpath(x) for x in templates]
|
self.templates = [app_dirs.TEMPLATE_DIR.joinpath(x) for x in templates]
|
||||||
except Exception:
|
except Exception:
|
||||||
self.templates = False
|
self.templates = False
|
||||||
logger.info("No Jinja2 Templates Registered for Export")
|
logger.info("No Jinja2 Templates Registered for Export")
|
||||||
|
|
||||||
required_dirs = [
|
required_dirs = [
|
||||||
self.main_dir,
|
self.main_dir,
|
||||||
self.recipes,
|
self.recipes,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue