Commit 819dcc66f25d8dc787769b0bbae91b8e8cc0392b
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 | 160 | print("Missing/unreadable config file",splitext(argv[0])[0]+'.conf') |
161 | 161 | exit(1) |
162 | 162 | |
163 | - apiconf = config['API'] | |
164 | - print(apiconf.get('aaa', fallback='bbb')) | |
165 | - exit() | |
166 | - | |
167 | - | |
168 | 163 | response = duo_api_config(config, 'check') # Check connectivity/auth. |
169 | 164 | print(response) |
170 | 165 | |
... | ... | @@ -184,4 +179,3 @@ if __name__ == '__main__': |
184 | 179 | |
185 | 180 | except HTTPError as e: |
186 | 181 | print('Configuration Error', e, '(invalid parameters?)') |
187 | - | |
... | ... |