added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use
for running these scripts outside blender. The error looked like this. SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!BPY
|
||||
|
||||
# coding: utf-8
|
||||
"""
|
||||
Name: 'Paths (.svg, .ps, .eps, .ai, Gimp)'
|
||||
Blender: 233
|
||||
@@ -92,4 +92,5 @@ elif argv=='Gimp_2_0':
|
||||
fonctionSELECT = functionSELECT # can they all be called function?
|
||||
|
||||
text = 'Import %s' % argv
|
||||
Blender.Window.FileSelector (fonctionSELECT, text)
|
||||
Blender.Window.FileSelector (fonctionSELECT, text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user