Cleanup: Make format

This commit is contained in:
Hans Goudey
2024-03-14 17:25:36 -04:00
parent 972c52feb9
commit 726b18eefb
+1 -1
View File
@@ -587,7 +587,7 @@ class RemovePresetInterfaceTheme(AddPresetBase, Operator):
from bpy.utils import is_path_builtin
preset_menu_class = getattr(bpy.types, cls.preset_menu)
name = preset_menu_class.bl_label
filepath = bpy.utils.preset_find(name, cls.preset_subdir, ext = ".xml")
filepath = bpy.utils.preset_find(name, cls.preset_subdir, ext=".xml")
if not bool(filepath) or is_path_builtin(filepath):
cls.poll_message_set("Built-in themes cannot be removed")
return False