Added user expansion on template source path.

development
Shawn Davis 4 years ago
parent 5fb69aa6ce
commit ddaa8a4f87
  1. 2
      scripttease/library/commands/templates.py

@ -65,7 +65,7 @@ class Template(Command):
self.pythonic = pythonic
self.line_by_line = lines
self.locations = kwargs.pop("locations", list())
self.source = source
self.source = os.path.expanduser(source)
self.target = target
# Remaining kwargs are added to the context.

Loading…
Cancel
Save