diff --git a/praw/models/reddit/mixins/fullname.py b/praw/models/reddit/mixins/fullname.py index c8c8205b0..d54a9706d 100644 --- a/praw/models/reddit/mixins/fullname.py +++ b/praw/models/reddit/mixins/fullname.py @@ -14,6 +14,6 @@ def fullname(self) -> str: the object's base36 ID, e.g., ``t1_c5s96e0``. """ - if "_" in self.id: + if "_" in str(self.id): return self.id return f"{self._kind}_{self.id}"