File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def get_version(client):
26
26
if sys .version_info < (3 , 7 ):
27
27
raise Exception ("Min Python version required is 3.7" )
28
28
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" )
30
30
args = process_arguments (arg_parser )
31
31
if args .force :
32
32
args .unsafe_auto_accept = True
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ def __init__(self, args):
21
21
self .build ()
22
22
23
23
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 )
27
26
if self .options :
27
+ for i in range (1 , len (self .options )):
28
+ self .menu_print (str (i ) + ". " + self .options [i - 1 ], 0 )
28
29
self .menu_print (str (len (self .options )) + ". " + self .options [len (self .options ) - 1 ], 1 )
29
30
self .menu_print ("99. " + self .last_option , 0 )
30
31
self .handle_input ()
You can’t perform that action at this time.
0 commit comments