removed testing logic
This commit is contained in:
@@ -160,11 +160,6 @@ if __name__ == '__main__':
|
||||
print("Missing/unreadable config file",splitext(argv[0])[0]+'.conf')
|
||||
exit(1)
|
||||
|
||||
apiconf = config['API']
|
||||
print(apiconf.get('aaa', fallback='bbb'))
|
||||
exit()
|
||||
|
||||
|
||||
response = duo_api_config(config, 'check') # Check connectivity/auth.
|
||||
print(response)
|
||||
|
||||
@@ -184,4 +179,3 @@ if __name__ == '__main__':
|
||||
|
||||
except HTTPError as e:
|
||||
print('Configuration Error', e, '(invalid parameters?)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user