Fix #135391: Python type error reporting that addon is for newer version of Blender
This commits fixes a type error issue when reporting that a addon was designed for a version of Blender newer than the current one. Thanks to @Rakete for the fix. Ref: !135392
This commit is contained in:
@@ -496,11 +496,11 @@ class PREFERENCES_OT_addon_enable(Operator):
|
||||
self.report(
|
||||
{'WARNING'},
|
||||
rpt_(
|
||||
"This script was written Blender "
|
||||
"This script was written for Blender "
|
||||
"version {:d}.{:d}.{:d} and might not "
|
||||
"function (correctly), "
|
||||
"though it is enabled"
|
||||
).format(info_ver)
|
||||
).format(*info_ver)
|
||||
)
|
||||
result = {'FINISHED'}
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user