From fc62ccc05836605a1057e87e6ea34aa9db510a81 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 11 Dec 2019 09:37:58 -0500 Subject: [PATCH] Make process name nicer. --- libstormgames.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstormgames.py b/libstormgames.py index c130e9f..5472cfb 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -89,7 +89,7 @@ def initialize_gui(gameTitle): # Set game's name global gameName gameName = gameTitle - setproctitle(gameTitle) + setproctitle(str.lower(str.replace(gameTitle, " ", ""))) # start pygame pygame.init() # start the display (required by the event loop)