mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-12 03:03:59 +00:00
Merge pull request #94 from SirAiedail/feature/jinja-helper-expand-path
Expand variables in jinja helper path
This commit is contained in:
@@ -10,4 +10,4 @@ import os
|
|||||||
|
|
||||||
def exists(path):
|
def exists(path):
|
||||||
"""return true when path exists"""
|
"""return true when path exists"""
|
||||||
return os.path.exists(path)
|
return os.path.exists(os.path.expandvars(path))
|
||||||
|
|||||||
Reference in New Issue
Block a user