Appease the linter

This commit is contained in:
Andrew 2022-03-01 17:10:04 -05:00
parent 5d6ada23a4
commit e1340d61ff
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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