mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
try fix slit error
This commit is contained in:
parent
69f6074330
commit
c672ba836f
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue