Skip to content

Commit

Permalink
⭐ add python 3.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
shidenggui committed Apr 11, 2018
1 parent dd246ed commit fbb1f03
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions easyquotation/api.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# coding:utf8
import sys

from .boc import Boc
from .jsl import Jsl
from .sina import Sina
from .tencent import Tencent

PY_VERSION = sys.version_info[:2]
if PY_VERSION < (3, 5):
raise Exception('Python 版本需要 3.5 或以上, 当前版本为 %s.%s 请升级 Python' % PY_VERSION)


def use(source):
if source in ['sina']:
Expand Down

0 comments on commit fbb1f03

Please sign in to comment.