update socket time

This commit is contained in:
Usman Nasir
2019-12-11 10:10:20 +05:00
parent 3296a828e8
commit a7f1f2a54b
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ class SSHServer(multi.Thread):
else:
self.websocket.sendMessage(self.shell.recv(9000).decode("utf-8"))
else:
pass
time.sleep(0.01)
else:
return 0
except BaseException as msg:

View File

@@ -2,7 +2,7 @@
from django.contrib import admin
import models
from . import models
# Register your models here.
admin.site.register(models.Administrator)