Skip to content

Commit b4ddbe7

Browse files
committed
fix(pb): unexpected error on 'upload_voice'
1 parent 02d7636 commit b4ddbe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lagrange/pb/highway/comm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class AudioExtInfo(ProtoStruct):
3434

3535

3636
class ExtBizInfo(ProtoStruct):
37-
pic: PicExtInfo = proto_field(1, default_factory=PicExtInfo)
37+
pic: Optional[PicExtInfo] = proto_field(1, default_factory=PicExtInfo)
3838
video: Optional[VideoExtInfo] = proto_field(2, default_factory=VideoExtInfo)
3939
audio: Optional[AudioExtInfo] = proto_field(3, default_factory=AudioExtInfo)
4040
bus_type: Optional[int] = proto_field(4, default=None)

0 commit comments

Comments
 (0)