Skip to content

Commit fe0811f

Browse files
committed
update
1 parent 1e734ea commit fe0811f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

wrighter/plugin.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,8 @@ class Plugin:
5454
"""Base class for Wrighter Plugins"""
5555

5656
def __init__(self) -> None:
57-
self._description = self.__class__.__doc__
57+
self._description = self.__class__.__doc__ or "No description"
5858
self.logger = logger.bind(title=self.__class__.__name__)
59-
if not self._description:
60-
self._description = "No description"
6159

6260
def __repr__(self) -> str:
6361
return f"{self.__class__.__name__}()"

0 commit comments

Comments
 (0)