Fixed icns importing.
This commit is contained in:
parent
a7395cce2b
commit
3a053fe76a
3 changed files with 27 additions and 25 deletions
|
|
@ -685,14 +685,14 @@ class CommandBase(object):
|
|||
inject_start_file = utils.path_join(self.project_dir(),
|
||||
inject_start_file)
|
||||
|
||||
if os.path.exists(inject_start_file):
|
||||
if os.path.isfile(inject_start_file):
|
||||
inject_js_start = codecs.open(inject_start_file, encoding='utf-8').read()
|
||||
|
||||
inject_end_file = self.get_setting('inject_js_end').value
|
||||
inject_end_file = utils.path_join(self.project_dir(),
|
||||
inject_end_file)
|
||||
|
||||
if os.path.exists(inject_end_file):
|
||||
if os.path.isfile(inject_end_file):
|
||||
inject_js_end = codecs.open(inject_end_file, encoding='utf-8').read()
|
||||
|
||||
main_html = self.get_setting('main_html')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue