File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def get_version(client):
2626 if sys .version_info < (3 , 7 ):
2727 raise Exception ("Min Python version required is 3.7" )
2828
29- arg_parser = argparse .ArgumentParser (description = "R80.X Policy Package Export/Import Tool, V6.1 .0" )
29+ arg_parser = argparse .ArgumentParser (description = "R80.X Policy Package Export/Import Tool, V6.2 .0" )
3030 args = process_arguments (arg_parser )
3131 if args .force :
3232 args .unsafe_auto_accept = True
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ def __init__(self, args):
2121 self .build ()
2222
2323 def display (self ):
24- Menu .menu_print (self .title , 1 )
25- for i in range (1 , len (self .options )):
26- self .menu_print (str (i ) + ". " + self .options [i - 1 ], 0 )
24+ if self .title :
25+ Menu .menu_print (self .title , 1 )
2726 if self .options :
27+ for i in range (1 , len (self .options )):
28+ self .menu_print (str (i ) + ". " + self .options [i - 1 ], 0 )
2829 self .menu_print (str (len (self .options )) + ". " + self .options [len (self .options ) - 1 ], 1 )
2930 self .menu_print ("99. " + self .last_option , 0 )
3031 self .handle_input ()
You can’t perform that action at this time.
0 commit comments