From d60972a3d35c68cb062d3ad2759ccedbdb1aab7e Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Thu, 9 Jan 2025 20:51:31 -0500 Subject: set default show_gui to true --- src/usr/share/gmm/gmm_lib.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/usr') diff --git a/src/usr/share/gmm/gmm_lib.py b/src/usr/share/gmm/gmm_lib.py index 687547e..d1ce82c 100644 --- a/src/usr/share/gmm/gmm_lib.py +++ b/src/usr/share/gmm/gmm_lib.py @@ -338,6 +338,11 @@ class Gmm(): if args.gui == False or args.gui == True: ferror(f"Setting show_gui to {args.gui}") self.show_gui = args.gui + try: + if (self.show_gui): + pass + except AttributeError: + self.show_gui = True if args.list: if args.output == "json": print(json.dumps(self.mounts)) -- cgit