try fix slit error

This commit is contained in:
rootzoll 2020-08-02 17:17:38 +02:00
parent 69f6074330
commit c672ba836f

View file

@ -83,8 +83,10 @@ def handleException(e):
def get_subdomain(fulldomain_str):
return fulldomain_str.split('.')[0]
try:
return fulldomain_str.split('.')[0]
except Exception as e:
return fulldomain_str
############################
# API Calls to DNS Services