From fb7d5b8e44ca0727919e773cac39f9fcf3949043 Mon Sep 17 00:00:00 2001 From: hkc Date: Mon, 8 May 2023 17:35:16 +0300 Subject: [PATCH] Removed unused TODO file --- TODO | 7 ------- mastoposter/types.py | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 TODO diff --git a/TODO b/TODO deleted file mode 100644 index ad849d5..0000000 --- a/TODO +++ /dev/null @@ -1,7 +0,0 @@ -[integrations,core] Add database support so remote messages are stored and can be used to reply to them -[core] Somehow find a way to get your user ID by token -[core] Maybe get rid of `main.list` field and create one automatically on a startup? -[integrations] Add support for shellscript integration -[integrations] Add formatting option -[integrations] Add filters -[integrations,vk] Add VK integration diff --git a/mastoposter/types.py b/mastoposter/types.py index 838853e..3b719b9 100644 --- a/mastoposter/types.py +++ b/mastoposter/types.py @@ -158,7 +158,7 @@ class AttachmentMetaImage: **{f.name: data[f.name] for f in fields(cls) if f.name in data}, original=cls.AttachmentMetaImageDimensions(**data["original"]), small=cls.AttachmentMetaImageDimensions(**data["small"]), - focus=cls.Vec2F(**data["focus"]) + focus=cls.Vec2F(**data["focus"]), ) @@ -197,7 +197,7 @@ class AttachmentMetaVideo: return cls( **data, original=cls.AttachmentMetaVideoOriginal(**data["original"]), - small=cls.AttachmentMetaVideoSmall(**data["small"]) + small=cls.AttachmentMetaVideoSmall(**data["small"]), )