mirror of
https://github.com/GNS3/gns3-server
synced 2025-01-13 01:20:58 +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 time
|
||||||
import atexit
|
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 .route import Route
|
||||||
from ..config import Config
|
from ..config import Config
|
||||||
from ..compute import MODULES
|
from ..compute import MODULES
|
||||||
|
Loading…
Reference in New Issue
Block a user