Skip to content

Commit

Permalink
Fix exception error
Browse files Browse the repository at this point in the history
  • Loading branch information
Kang Min Yoo committed Jun 19, 2020
1 parent d9e9bcd commit 2c63835
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hangul_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.4"
__version__ = "0.4.1"

from .unicode import *
from .preprocess import *
2 changes: 1 addition & 1 deletion hangul_utils/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _init_mecab(self):
try:
_ = list(self._mecab.parse("mecab mecab"))
del _
except UnicodeEncodeError:
except UnicodeDecodeError:
pass

def _init_twitter(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='hangul-utils',
version="0.4",
version="0.4.1",
license="GPL",
description='An integrated library for Korean preprocessing.',
author='Kang Min Yoo',
Expand Down

0 comments on commit 2c63835

Please sign in to comment.