From 0328c1db37b1ab00d7946423e43f048217826cb9 Mon Sep 17 00:00:00 2001 From: Sheppy Date: Thu, 25 May 2017 20:07:28 +0200 Subject: [PATCH] Fixed wrong intentation --- herbstluftwm/hl_panel_content.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/herbstluftwm/hl_panel_content.py b/herbstluftwm/hl_panel_content.py index 54f704f..cd9d31f 100755 --- a/herbstluftwm/hl_panel_content.py +++ b/herbstluftwm/hl_panel_content.py @@ -75,12 +75,14 @@ def guthaben(): def vpn(): vpn = '' - if not hl_utils.is_cip(): + if hl_utils.is_cip(): + return '' + else: tmp = -1 with open(hl_utils.hlpath("vpn_status.log")) as f: tmp = f.read() tmp = ' '+tmp - return tmp; + return tmp; def battery(): if hl_utils.is_laptop():