python3.8 compability fix

This commit is contained in:
lgandx 2020-08-17 16:08:24 -03:00
parent 691c44138c
commit d6f4911eb4
13 changed files with 18 additions and 18 deletions

View file

@ -19,7 +19,7 @@ import struct
import re
import ssl
import codecs
if settings.Config.PY2OR3 is "PY3":
if settings.Config.PY2OR3 == "PY3":
from socketserver import BaseRequestHandler
else:
from SocketServer import BaseRequestHandler