Skip to content

Commit d553e4f

Browse files
Update __main__.py
1 parent b993462 commit d553e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index_generator/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def app(args):
5757
template=os.path.abspath(args.template) if args.template else '')
5858
else:
5959
generate_recursively(args.theme, args.path, args.name, args.print, args.depth, base=args.root, human=args.human,
60-
template=os.path.abspath(args.template))
60+
template=os.path.abspath(args.template) if args.template else '')
6161

6262

6363
def generate_once(theme, root, files, name, if_print, base='/', human=False, template=''):

0 commit comments

Comments
 (0)