Skip to content

Commit 7b41ad9

Browse files
committed
update
Signed-off-by: ふぁ <[email protected]>
1 parent 9e21355 commit 7b41ad9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

twitter_openapi_python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "twitter_openapi_python"
3-
version = "0.0.10"
3+
version = "0.0.11"
44
description = "Twitter OpenAPI"
55
authors = ["fa0311 <[email protected]>"]
66
license = "proprietary" # or "AGPL-3.0-only"
@@ -14,7 +14,7 @@ include = ["twitter_openapi_python/py.typed"]
1414
python = "^3.7"
1515
pydantic = "^1.10.5, <2"
1616

17-
twitter-openapi-python-generated = "0.0.6"
17+
twitter-openapi-python-generated = "0.0.7"
1818

1919
[tool.poetry.dev-dependencies]
2020

0 Bytes
Binary file not shown.

twitter_openapi_python/twitter_openapi_python/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def get_client_from_cookies(
122122
api_key.update({"AuthType": "OAuth2Session"})
123123
api_key.update({"CsrfToken": cookies["ct0"]})
124124

125-
if cookies.get("gt") is not None:
125+
if cookies.get("gt"):
126126
api_key.update({"GuestToken": cookies["gt"]})
127127

128128
api_conf = conf.Configuration(api_key=api_key)

0 commit comments

Comments
 (0)