diff options
-rw-r--r-- | pypaste/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pypaste/__init__.py b/pypaste/__init__.py index a8e69ec..d0991c2 100644 --- a/pypaste/__init__.py +++ b/pypaste/__init__.py @@ -252,6 +252,7 @@ class App: use := await self.database.storage_use() ) is not None and use > self.config.s3_max_bytes: oldest = await self.database.oldest() + # If use is not None, there must be at least 1 paste, so we let the # type checker know that this is an unreachable case. assert oldest is not None |