From 744a12168750baae01646000f6b47ef810ef76e3 Mon Sep 17 00:00:00 2001 From: lkrisztian Date: Tue, 12 Sep 2023 10:57:52 +0200 Subject: [PATCH] fix string arguemtn for grass.message --- src/grass_gis_helpers/general.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/grass_gis_helpers/general.py b/src/grass_gis_helpers/general.py index ef7e6e7..68a309c 100644 --- a/src/grass_gis_helpers/general.py +++ b/src/grass_gis_helpers/general.py @@ -56,8 +56,10 @@ def log_memory(grassenv=None): ) grass.message( _( - "\nDisk usage of GRASS GIS database:\n", - f"{cmd.communicate()[0].decode('utf-8').rstrip()}\n", + ( + "\nDisk usage of GRASS GIS database:\n", + f"{cmd.communicate()[0].decode('utf-8').rstrip()}\n", + ), ) )