bunkernet - fix wrong import in register job

This commit is contained in:
bunkerity 2022-08-12 09:11:14 +02:00
parent b5c07dda01
commit 6ea38b1f77
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3
import sys, os, traceback
import sys, os, traceback, time
sys.path.append("/opt/bunkerweb/deps/python")
sys.path.append("/opt/bunkerweb/utils")
@ -78,7 +78,7 @@ try :
bunkernet_ping = True
break
logger.log("BUNKERNET", "⚠️", "Waiting 1s and trying again ...")
os.sleep(1)
time.sleep(1)
if bunkernet_ping :
logger.log("BUNKERNET", "", "Connectivity with BunkerWeb is successful !")