Skip to content

Commit

Permalink
Fix: Build error
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Aug 14, 2023
1 parent 0fec86a commit c64f86c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/fake_bpy_module/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
import copy

from . import support
from .common import (
BuiltinDataType,
CustomDataType,
Expand Down Expand Up @@ -1142,7 +1143,9 @@ def _analyze_by_file(self, filename: str) -> 'SectionInfo':
return section_none_removed

def analyze(self, filenames: List[str]) -> 'AnalysisResult':
# TODO: Add assertion.
assert self.target in support.SUPPORTED_TARGET
assert (self.target_version in support.SUPPORTED_BLENDER_VERSION or
self.target_version in support.SUPPORTED_UPBGE_VERSION)

result = AnalysisResult()
for f in filenames:
Expand Down

0 comments on commit c64f86c

Please sign in to comment.