summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-09 21:38:53 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-09 21:38:53 -0400
commit619028af0ff6c87cf2a0a85ae3118dbd7136cbe7 (patch)
tree5ef70577c0dd7282568f1743b709747b85922a12
parent77f9ad0b1b39d68efd5966392e5025230bb450e1 (diff)
downloadpypaste-619028af0ff6c87cf2a0a85ae3118dbd7136cbe7.tar.gz
make error messages print [error] instead of [warning]
-rw-r--r--pypaste/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pypaste/__init__.py b/pypaste/__init__.py
index 4932f76..b255056 100644
--- a/pypaste/__init__.py
+++ b/pypaste/__init__.py
@@ -45,7 +45,7 @@ def log_warning(msg: str) -> None:
def log_error(msg: str) -> None:
now = datetime.now().isoformat()
- print(f"{RED}[warning]{RESET} {now} {msg}", file=sys.stderr)
+ print(f"{RED}[error]{RESET} {now} {msg}", file=sys.stderr)
def pygmentize(