TGmeetup / TGmeetup

Assert statement used outside of tests BAN-B101
Security
Major
5 years ago5 years old
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
126                continue
127            # social-media
128            try:
129                assert isinstance(data["social_media"], list)
130            except BaseException:
131                continue

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
121                continue
122            # chat
123            try:
124                assert isinstance(data["chat"], list)
125            except BaseException:
126                continue
127            # social-media
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
116                continue
117            # contributors
118            try:
119                assert isinstance(data["contributors"], str)
120            except BaseException:
121                continue
122            # chat
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
111                continue
112            # contact
113            try:
114                assert isinstance(data["contact"], str)
115            except BaseException:
116                continue
117            # contributors
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
106                continue
107            # homepage
108            try:
109                assert isinstance(data["homepage"], str)
110            except BaseException:
111                continue
112            # contact