diff options
Diffstat (limited to 'nextcloud_users')
-rwxr-xr-x | nextcloud_users | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nextcloud_users b/nextcloud_users index 46312fb..eac5ae6 100755 --- a/nextcloud_users +++ b/nextcloud_users @@ -37,8 +37,8 @@ class NextcloudUsers: try: if None not in {os.environ['url'], os.environ['username'], os.environ['password']}: print('yes') - except KeyError as e: - print('no configuration options are missing: %s' % e) + except KeyError: + print('no env configuration options are missing') else: # read the configuration from munin environment URL = os.environ['url'] |