Update base.py

This commit is contained in:
Namhyeon Go 2024-11-14 15:13:42 +09:00 committed by GitHub
parent 0ad61d0a30
commit 1ebbd96340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@
# Euiseo Cha (Wonkwang University) <zeroday0619_dev@outlook.com> # Euiseo Cha (Wonkwang University) <zeroday0619_dev@outlook.com>
# https://github.com/gnh1201/caterpillar # https://github.com/gnh1201/caterpillar
# Created at: 2024-05-20 # Created at: 2024-05-20
# Updated at: 2024-10-12 # Updated at: 2024-11-14
# #
import logging import logging
import hashlib import hashlib
@ -199,7 +199,7 @@ class Extension:
return None return None
@classmethod @classmethod
def test_connector(cls, data): def test_connectors(cls, data):
def test(preludes, data): def test(preludes, data):
for prelude in preludes: for prelude in preludes:
if data.find(prelude) == 0: if data.find(prelude) == 0: