mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix Unicode in one error message.
This commit is contained in:
parent
adde423447
commit
2d823d8eae
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ def LoadLibrary(builtins = None, fndata = None):
|
||||||
ui = i.decode('utf8')
|
ui = i.decode('utf8')
|
||||||
if 'NeedsData' in functions[i]:
|
if 'NeedsData' in functions[i]:
|
||||||
del functions[i]['NeedsData']
|
del functions[i]['NeedsData']
|
||||||
warning(u"Library data: Function %s has no data." % i)
|
warning(u"Library data: Function %s has no data." % ui)
|
||||||
if 'min' in functions[i] and 'max' in functions[i]:
|
if 'min' in functions[i] and 'max' in functions[i]:
|
||||||
if functions[i]['min'] > functions[i]['max']:
|
if functions[i]['min'] > functions[i]['max']:
|
||||||
warning(u"Library data: Function %s has min > max:"
|
warning(u"Library data: Function %s has min > max:"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue