Skip to content

Commit

Permalink
2018.7.4 v1.0.15 add urllib.urlencode to fix fish_common.splice_url_p…
Browse files Browse the repository at this point in the history
…arams error when python2
  • Loading branch information
jun.hu committed Jul 4, 2018
1 parent be4dabb commit 61715a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fishbase/fish_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,15 @@
import base64
import string
import random
from urllib import parse
from collections import OrderedDict
import functools

if sys.version > '3':
import configparser
from urllib import parse
else:
import ConfigParser as configparser
from urllib import urlencode as parse

# uuid kind const
udTime = 10001
Expand Down

0 comments on commit 61715a7

Please sign in to comment.