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:
parent
4021a13651
commit
0aa9ab53d1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user