@@ -36,8 +36,8 @@ def select_env():
3636
3737 set_environment (environment )
3838 select_create_key ()
39- except BitPayException as e :
40- print (e )
39+ except BitPayException as exe :
40+ print (exe )
4141
4242
4343def set_environment (env ):
@@ -55,16 +55,16 @@ def select_create_key():
5555 create_new_key ()
5656 else :
5757 load_key ()
58- except BitPayException as e :
59- print (e )
58+ except BitPayException as exe :
59+ print (exe )
6060
6161
6262def create_new_key ():
6363 try :
6464 private_key = generate_pem ()
6565 store_key (private_key )
66- except BitPayException as e :
67- print (e )
66+ except BitPayException as exe :
67+ print (exe )
6868
6969
7070def store_key (private_key ):
@@ -86,8 +86,8 @@ def store_key(private_key):
8686 select_tokens (private_key )
8787 else :
8888 store_key (private_key )
89- except BitPayException as e :
90- print (e )
89+ except BitPayException as exe :
90+ print (exe )
9191
9292
9393def select_tokens (private_key ):
@@ -99,8 +99,8 @@ def select_tokens(private_key):
9999 request_tokens (input_value .lower (), private_key )
100100 else :
101101 select_tokens (private_key )
102- except BitPayException as e :
103- print (e )
102+ except BitPayException as exe :
103+ print (exe )
104104
105105
106106def request_tokens (token_type , private_key ):
@@ -135,8 +135,8 @@ def request_tokens(token_type, private_key):
135135 print ("Payout Token Pairing Code: " , response .json ()['data' ][0 ]['pairingCode' ] + "\n " )
136136
137137 update_config_file ()
138- except BitPayException as e :
139- print (e )
138+ except BitPayException as exe :
139+ print (exe )
140140
141141
142142def update_config_file ():
@@ -167,8 +167,8 @@ def update_config_file():
167167 print (f"{ api_url } /dashboard/merchant/api-tokens\r \n " )
168168 print ("\r \n Once you have this Pairing Code/s approved you can move the generated files to a secure location "
169169 "and start using the Client.\r \n " )
170- except BitPayException as e :
171- print (e )
170+ except BitPayException as exe :
171+ print (exe )
172172
173173
174174def load_key ():
0 commit comments