Skip to content

Commit

Permalink
Fixed: #116
Browse files Browse the repository at this point in the history
  • Loading branch information
howie6879 committed Aug 15, 2020
1 parent e40c92d commit 02aa0fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 4 additions & 3 deletions ruia/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/usr/bin/env python

from .field import AttrField, BaseField, ElementField, HtmlField, RegexField, TextField
from .exceptions import IgnoreThisItem
from .field import (AttrField, BaseField, ElementField, HtmlField, RegexField,
TextField)
from .item import Item
from .middleware import Middleware
from .request import Request
from .response import Response
from .spider import Spider
from .exceptions import IgnoreThisItem

__version__ = "0.6.8"
__version__ = "0.6.9"
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ def read_version():


def read(file_name):
with open(os.path.join(os.path.dirname(__file__), file_name)) as f:
with open(
os.path.join(os.path.dirname(__file__), file_name), mode="r", encoding="utf-8"
) as f:
return f.read()


Expand Down

0 comments on commit 02aa0fa

Please sign in to comment.