Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
lzjun567 committed Jul 29, 2017
1 parent b46a65c commit a56a44f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
32 changes: 16 additions & 16 deletions zhihu/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# from zhihu.models import answer
# from zhihu.models import zhihux
# from zhihu.models import question
# from zhihu.models import column
# from zhihu.models import account
#
# __author__ = 'liuzhijun'
# __license__ = 'MIT'
#
# __all__ = ["Answer", "Zhihu", "Question", "Column", "Account"]
#
# Answer = answer.Answer
# Zhihu = zhihux.ZhihuX
# Question = question.Question
# Column = column.Column
# Account = account.Account
from .models import answer
from .models import zhihu
from .models import question
from .models import column
from .models import account

__author__ = 'liuzhijun'
__license__ = 'MIT'

__all__ = ["Answer", "Zhihu", "Question", "Column", "Account"]

Answer = answer.Answer
Zhihu = zhihu.Zhihu
Question = question.Question
Column = column.Column
Account = account.Account
4 changes: 3 additions & 1 deletion zhihu/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

"""
Model获取知乎数据的基类对象,任何对象都可以继承该类
获取知乎数据对象的抽象既基类,任何对象都可以继承该类
比如 Answer, Question, Account
"""

Expand Down

0 comments on commit a56a44f

Please sign in to comment.