summaryrefslogtreecommitdiff
path: root/uio.py
diff options
context:
space:
mode:
Diffstat (limited to 'uio.py')
-rw-r--r--uio.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/uio.py b/uio.py
index f00b2ca..c54754f 100644
--- a/uio.py
+++ b/uio.py
@@ -337,6 +337,8 @@ class ProfilePrintSystem(PrintSystem):
def print_profiles(self, profiles):
self.print_line(highlight + space + 'Profiles:' + reset)
table = []
+ if len(profiles) == 0:
+ table.append([bold + 'No Profiles Found!' , ''])
for profile in profiles:
table.append([bold + profile.name, bullet + space + profile.description])
self.print_table(table)