Skip to content

Commit

Permalink
Merge pull request #11 from mundialis/fix_helper_functions
Browse files Browse the repository at this point in the history
[Bug]: fix string argument for grass.message
  • Loading branch information
linakrisztian authored Sep 12, 2023
2 parents 1480fa8 + 744a121 commit 4eea893
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/grass_gis_helpers/general.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
)
)

Expand Down

0 comments on commit 4eea893

Please sign in to comment.