Skip to content

Commit

Permalink
Rearranging idna
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomguithereal committed Dec 19, 2020
1 parent 791e4a5 commit cbe026c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion hooks/hook-minet.cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
from os.path import dirname, join
from PyInstaller.utils.hooks import collect_submodules

hiddenimports = []
hiddenimports = [
'encodings.idna'
]

for p in iglob('minet/cli/**/*.py', recursive=True):
if '__main__' in p:
Expand Down
3 changes: 0 additions & 3 deletions minet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@
DEFAULT_URLLIB3_TIMEOUT
)

# Fix for pyinstaller. Do not remove!
import encodings.idna

mimetypes.init()

# Handy regexes
Expand Down

0 comments on commit cbe026c

Please sign in to comment.