Skip to content

Commit e0e1325

Browse files
committed
Document that farmOS ^1.6 is required.
1 parent 643e66a commit e0e1325

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ info = farm_client.info()
163163

164164
### Client methods
165165

166-
farmOS.py can connect to farmOS servers running version 1.x or 2.x. The version should be specified when instantiating
166+
farmOS.py can connect to farmOS servers running version ^1.6 or 2.x. The version should be specified when instantiating
167167
the farmOS client, see [Authentication](#authentication).
168168

169169
Because of [API changes](https://2x.farmos.org/development/api/changes/) in farmOS 2.x, the client provides different

farmOS/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def __init__(
8383
raise Exception("No hostname provided and could not be loaded from config.")
8484

8585
logger.debug("Creating an OAuth Session.")
86-
# TODO: Document that this token path requires farmOS v1.6
8786
# OR implement a method to check both token paths.
8887
# maybe version can default to none, and check the server?
8988
token_url = hostname + "/oauth/token"

0 commit comments

Comments
 (0)