diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-05 18:23:47 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2021-07-05 18:23:52 +0300 |
commit | caae505ff9408e9973e518a5edd172f5aa9c2a18 (patch) | |
tree | 4261550af5ce0106c96714a5961cce1944a1a707 | |
parent | fb377f2a92c7b99cc6b2882621d8cae5a56302df (diff) |
Cleanup: Pose library, fix mypy error
No functional changes
-rw-r--r-- | pose_library/gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pose_library/gui.py b/pose_library/gui.py index 5d46418e..bd963f1a 100644 --- a/pose_library/gui.py +++ b/pose_library/gui.py @@ -87,7 +87,7 @@ def pose_library_list_item_context_menu(self: UIList, context: Context) -> None: asset = getattr(context, "asset_file_handle", None) if not asset: return False - return asset.id_type == 'ACTION' + return bool(asset.id_type == 'ACTION') if not is_pose_asset_view() and not is_pose_library_asset_browser(): return |