Commit 819dcc66f25d8dc787769b0bbae91b8e8cc0392b

Authored by Frederik Lindenaar
1 parent 4ac6224e

removed testing logic

Showing 1 changed file with 0 additions and 6 deletions
duo_api.py
@@ -160,11 +160,6 @@ if __name__ == '__main__': @@ -160,11 +160,6 @@ if __name__ == '__main__':
160 print("Missing/unreadable config file",splitext(argv[0])[0]+'.conf') 160 print("Missing/unreadable config file",splitext(argv[0])[0]+'.conf')
161 exit(1) 161 exit(1)
162 162
163 - apiconf = config['API']  
164 - print(apiconf.get('aaa', fallback='bbb'))  
165 - exit()  
166 -  
167 -  
168 response = duo_api_config(config, 'check') # Check connectivity/auth. 163 response = duo_api_config(config, 'check') # Check connectivity/auth.
169 print(response) 164 print(response)
170 165
@@ -184,4 +179,3 @@ if __name__ == '__main__': @@ -184,4 +179,3 @@ if __name__ == '__main__':
184 179
185 except HTTPError as e: 180 except HTTPError as e:
186 print('Configuration Error', e, '(invalid parameters?)') 181 print('Configuration Error', e, '(invalid parameters?)')
187 -