mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Appease the linter
This commit is contained in:
parent
5d6ada23a4
commit
e1340d61ff
@ -174,6 +174,7 @@ def ping(ip, port):
|
||||
def ping_bedrock(ip, port):
|
||||
rd = random.Random()
|
||||
try:
|
||||
#pylint: disable=consider-using-f-string
|
||||
rd.seed(''.join(re.findall('..', '%012x' % uuid.getnode())))
|
||||
client_guid = uuid.UUID(int=rd.getrandbits(32)).int
|
||||
except:
|
||||
|
@ -2,10 +2,10 @@ import os
|
||||
import html
|
||||
import re
|
||||
import logging
|
||||
import time
|
||||
import tornado.web
|
||||
import tornado.escape
|
||||
import bleach
|
||||
import time
|
||||
|
||||
from app.classes.shared.console import console
|
||||
from app.classes.shared.helpers import helper
|
||||
|
Loading…
Reference in New Issue
Block a user