Skip to content

Commit cbdf3e4

Browse files
committed
BUGFIX:
- max/min mismatch
1 parent 490a6ee commit cbdf3e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/greenieboard/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def format_landing(landing: dict) -> str:
190190
name = user.display_name
191191
else:
192192
name = user
193-
num_landings = max(self.get_config().get('num_landings', 25), 25)
193+
num_landings = min(self.get_config().get('num_landings', 25), 25)
194194
async with self.apool.connection() as conn:
195195
async with conn.cursor(row_factory=dict_row) as cursor:
196196
await cursor.execute("""

0 commit comments

Comments
 (0)