No, just remove:
32 if os.path.exists(os.path.expanduser('~/quickly-templates')):
33 template_directories.append(os.path.expanduser('~/quickly-templates'))
And replace:
36 + user_paths = os.environ.get('QUICKLY_TEMPLATES')
37 + if user_paths is not None:
No, just remove: exists( os.path. expanduser( '~/quickly- templates' )): directories. append( os.path. expanduser( '~/quickly- templates' ))
32 if os.path.
33 template_
And replace: get('QUICKLY_ TEMPLATES' )
36 + user_paths = os.environ.
37 + if user_paths is not None:
by: get('QUICKLY_ TEMPLATES' ) templates: ' + user_paths
user_paths = os.environ.
user_paths = '~/quickly-
so that the code to insert an template template path is common.