aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/backend/branding/_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/backend/branding/_repository.py b/bot/exts/backend/branding/_repository.py
index e9d44417f..133231968 100644
--- a/bot/exts/backend/branding/_repository.py
+++ b/bot/exts/backend/branding/_repository.py
@@ -38,7 +38,7 @@ class RemoteObject:
name: str # Filename
path: str # Path from repo root
type: str # Either 'file' or 'dir'
- download_url: str
+ download_url: t.Optional[str] # If type is 'dir', this is None!
def __init__(self, dictionary: t.Dict[str, t.Any]) -> None:
"""Initialize by grabbing annotated attributes from `dictionary`."""