Skip to content

Commit

Permalink
Issue #50: UnicodeEncodeError 'ascii' codec can't encode characters i…
Browse files Browse the repository at this point in the history
…n position ...
  • Loading branch information
Nekmo committed Sep 9, 2018
1 parent 04a3822 commit 602da68
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion dirhunt/processors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# -*- coding: utf-8 -*-
import re
import sys

if sys.version_info < (3,):
reload(sys)
sys.setdefaultencoding("utf-8")

import re
from bs4 import Comment
from colorama import Fore, Back

Expand Down

0 comments on commit 602da68

Please sign in to comment.