Skip to content

Commit

Permalink
update socket time
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Dec 11, 2019
1 parent 3296a82 commit a7f1f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WebTerminal/CPWebSocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def recvData(self):
else:
self.websocket.sendMessage(self.shell.recv(9000).decode("utf-8"))
else:
pass
time.sleep(0.01)
else:
return 0
except BaseException as msg:
Expand Down
2 changes: 1 addition & 1 deletion loginSystem/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


from django.contrib import admin
import models
from . import models

# Register your models here.
admin.site.register(models.Administrator)

0 comments on commit a7f1f2a

Please sign in to comment.