aboutsummaryrefslogtreecommitdiffstats
path: root/nextcloud_shares
diff options
context:
space:
mode:
Diffstat (limited to 'nextcloud_shares')
-rwxr-xr-xnextcloud_shares4
1 files changed, 2 insertions, 2 deletions
diff --git a/nextcloud_shares b/nextcloud_shares
index fb527a6..ba247d5 100755
--- a/nextcloud_shares
+++ b/nextcloud_shares
@@ -45,8 +45,8 @@ class NextcloudShares:
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']