Skip to content

Commit

Permalink
Fix: Failed to parse '(... or None)'
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Aug 5, 2023
1 parent 209a7e1 commit 277a027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fake_bpy_module/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,7 @@ def _build_metadata(
# From this, we assumed non-bpy module.

metadata.never_none = True
m = re.search(r"or None$", dtype_str)
m = re.search(r"or None)*$", dtype_str)
if not m:
return metadata, dtype_str

Expand Down

0 comments on commit 277a027

Please sign in to comment.