aboutsummaryrefslogtreecommitdiff
path: root/src/usr
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2025-01-09 20:51:31 -0500
committerB. Stack <bgstack15@gmail.com>2025-01-09 20:51:31 -0500
commitd60972a3d35c68cb062d3ad2759ccedbdb1aab7e (patch)
tree5c27a40cf3cdcb598d059be66a55b2010ac07bcc /src/usr
parentinitial commit (diff)
downloadgmm-d60972a3d35c68cb062d3ad2759ccedbdb1aab7e.tar.gz
gmm-d60972a3d35c68cb062d3ad2759ccedbdb1aab7e.tar.bz2
gmm-d60972a3d35c68cb062d3ad2759ccedbdb1aab7e.zip
set default show_gui to true
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/share/gmm/gmm_lib.py5
1 files changed, 5 insertions, 0 deletions
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))
bgstack15