Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/cpsection/network/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/cpsection/network/model.py b/extensions/cpsection/network/model.py
index 6e9a0f0..d22bf69 100644
--- a/extensions/cpsection/network/model.py
+++ b/extensions/cpsection/network/model.py
@@ -138,7 +138,7 @@ def set_radio_rfkill(state):
# remove the flag file (checked at boot)
try:
os.unlink(RFKILL_STATE_FILE)
- except
+ except:
_logger.debug('File %s was not unlinked' % RFKILL_STATE_FILE)
elif state == 'off' or state == 0:
os.spawnl(os.P_WAIT, "/sbin/rfkill", "rfkill", "block", "wifi")