Join the last 2 entries in a purchase if they are the same thing.

This commit is contained in:
2017-02-26 11:26:41 +00:00
parent a71274ed78
commit a0ec131c49
2 changed files with 13 additions and 9 deletions

View File

@@ -378,7 +378,8 @@ class Menu(object):
return_index=False)
return selector.execute()
def confirm(self, prompt, default=None, timeout=None):
@staticmethod
def confirm(prompt, default=None, timeout=None):
return ConfirmMenu(prompt, default, timeout).execute()
def print_header(self):
@@ -388,7 +389,8 @@ class Menu(object):
def pause(self):
self.input_str('.')
def general_help(self):
@staticmethod
def general_help():
print '''
DIBBLER HELP