diff --git a/README.md b/README.md index 0b8e514..412c5bd 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Install dependencies: Run as a CLI command: +*Please note the handle has to be in the format @user:instance.org` + ``` python main.py [-h] --tag TAG --token TOKEN --instance INSTANCE emoji_file [emoji_file ...] diff --git a/main.py b/main.py index 81e7fcf..78b43af 100644 --- a/main.py +++ b/main.py @@ -10,6 +10,7 @@ import dacite import aiohttp import typing import urllib.parse +from typing import Optional from dataclasses import dataclass from tqdm import tqdm @@ -30,7 +31,7 @@ class EmojiDef: @dataclass class PackMeta: display_name: str - usage: list[str] + usage: Optional[list[str]] @dataclass