- Change Tag.get_or_create to return None for invalid tag names - Add None checks at all call sites to prevent AttributeError - Protects against invalid Chinese names (>16 chars) and other language names (>8 words) - Ensures system stability when encountering problematic tag data |
||
|---|---|---|
| .. | ||
| datamodel.py | ||
| update_image_data.py | ||