diff options
author | David McMackins II <contact@mcmackins.org> | 2016-05-25 15:29:48 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2016-05-25 15:29:48 -0500 |
commit | 6c592bf1976787dea1d520d4048db81bba63c3ba (patch) | |
tree | e5c4f70446172f6880a6abd0c3e3886fb310cc2a | |
parent | 5b062e44e9023d36cddcf0ab3d8a3d87e7330178 (diff) |
Remove usage of Ticker field 'kind'
-rw-r--r-- | cfetch/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cfetch/__init__.py b/cfetch/__init__.py index db65f7d..487559c 100644 --- a/cfetch/__init__.py +++ b/cfetch/__init__.py @@ -21,14 +21,13 @@ from os.path import basename, dirname, exists, expanduser, isdir, join from os.path import realpath from requests import get -__version__ = '5.1.1' +__version__ = '5.2.0' ## A cryptocurrency exchange rate ticker. class Ticker(): ## Constructor for this class. # @param path The URL prefix for this ticker. - # @param kind Which type of exchange rate to fetch. - def __init__(self, path): + def __init__(self, path, kind=None): self.path = path ## Defines how a currency pair is defined in the request URL. |