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): def ping_bedrock(ip, port):
rd = random.Random() rd = random.Random()
try: try:
#pylint: disable=consider-using-f-string
rd.seed(''.join(re.findall('..', '%012x' % uuid.getnode()))) rd.seed(''.join(re.findall('..', '%012x' % uuid.getnode())))
client_guid = uuid.UUID(int=rd.getrandbits(32)).int client_guid = uuid.UUID(int=rd.getrandbits(32)).int
except: except:

View File

@ -2,10 +2,10 @@ import os
import html import html
import re import re
import logging import logging
import time
import tornado.web import tornado.web
import tornado.escape import tornado.escape
import bleach import bleach
import time
from app.classes.shared.console import console from app.classes.shared.console import console
from app.classes.shared.helpers import helper from app.classes.shared.helpers import helper