From 94c1e0a737a099a6de7ee55c07b74ac946e1e3c7 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 25 Nov 2022 01:59:04 +0200 Subject: [PATCH] Update and rename sign_vars.py to message_prefixes.py --- octosuite/{sign_vars.py => message_prefixes.py} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename octosuite/{sign_vars.py => message_prefixes.py} (79%) diff --git a/octosuite/sign_vars.py b/octosuite/message_prefixes.py similarity index 79% rename from octosuite/sign_vars.py rename to octosuite/message_prefixes.py index dceb359..f296bb8 100644 --- a/octosuite/sign_vars.py +++ b/octosuite/message_prefixes.py @@ -1,11 +1,11 @@ from octosuite.colors import red, white, green, reset """ -SignVar *Even here, I couldn't think of a good name.* The Attributes class holds the signs/symbols that show what +MessagePrefix *Even here, I couldn't think of a good name.* The Attributes class holds the signs/symbols that show what a notification in OctoSuite might be all about. This might not be very important or necessary in some cases, but I think it's better to know the severity of the notifications you get in a program. """ -class SignVar: +class MessagePrefix: prompt = f"{white}[{green} ? {white}]{reset}" warning = f"{white}[{red} ! {white}]{reset}" error = f"{white}[{red} x {white}]{reset}"