Fix import for Python >3.8

This commit is contained in:
Kumi 2022-04-19 13:05:40 +02:00
parent d148c0b5ad
commit 19834f6a5d
Signed by: kumi
GPG key ID: 5D1CE6AF1805ECA2

View file

@ -1,4 +1,7 @@
import cgi
try:
from urllib.parse import parse_qs
except ImportError:
from cgi import parse_qs
class IllegalMethodException(BaseException):
pass