Skip to content

Commit

Permalink
fix #26 #28
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyanhui committed Jan 12, 2015
1 parent c8fcf4e commit f40dcde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions FileHeader.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# @Author: lime
# @Date: 2013-10-28 13:39:48
# @Last Modified by: Lime
# @Last Modified time: 2014-11-25 14:23:57
# @Last Modified time: 2015-01-12 09:51:33

import os
import sys
Expand Down Expand Up @@ -109,7 +109,6 @@ def get_template_part(syntax_type, part):
if os.path.exists(_) and os.path.isfile(_):
tmpl_file = _

print(tmpl_file)
try:
template_file = open(tmpl_file, 'r')
contents = template_file.read()
Expand Down

0 comments on commit f40dcde

Please sign in to comment.