From 940bdebaf2a555da80ddd78a1036608bc252c249 Mon Sep 17 00:00:00 2001 From: Tomasz Kowalik Date: Wed, 2 Aug 2023 00:08:19 +0200 Subject: [PATCH] Use arg --- pwndbg/commands/tips.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwndbg/commands/tips.py b/pwndbg/commands/tips.py index 4f5cdffb7..97632fbd7 100644 --- a/pwndbg/commands/tips.py +++ b/pwndbg/commands/tips.py @@ -22,4 +22,4 @@ def tips(all: bool) -> None: def __color_tip(tip: str) -> str: - return re.sub("`(.*?)`", lambda s: message.warn(s.group()[1:-1]), get_tip_of_the_day()) + return re.sub("`(.*?)`", lambda s: message.warn(s.group()[1:-1]), tip)