1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Import encodings.idna to avoid LookupError when standard library is in a zip file.

This commit is contained in:
grossmj 2018-09-07 09:34:17 +02:00
parent 4021a13651
commit 0aa9ab53d1

View File

@ -29,6 +29,10 @@ import functools
import time
import atexit
# Import encoding now, to avoid implicit import later.
# Implicit import within threads may cause LookupError when standard library is in a ZIP
import encodings.idna
from .route import Route
from ..config import Config
from ..compute import MODULES