aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon/Mastodon.py')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 5824dae..7b99dfd 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -3925,7 +3925,7 @@ class Mastodon:
3925 """ 3925 """
3926 if isinstance(id, dict) and "id" in id: 3926 if isinstance(id, dict) and "id" in id:
3927 id = id["id"] 3927 id = id["id"]
3928 if dateconv and isinstance(id, datetime): 3928 if dateconv and isinstance(id, datetime.datetime):
3929 id = (int(id) << 16) * 1000 3929 id = (int(id) << 16) * 1000
3930 return id 3930 return id
3931 3931
Powered by cgit v1.2.3 (git 2.41.0)