aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTrevor Joynson (trevorj) <github@skywww.net>2017-01-31 02:30:43 -0800
committerRahiel Kasim <rahielkasim@gmail.com>2017-01-31 16:41:06 +0100
commit5899e131e44e6bc4b96e013021fbbc331e6a69fb (patch)
treefebe91e275cbe3665e30365392d64381ea6c9f97
parentb6756dd6cae2adc5c19f4d48194b2845a35b9180 (diff)
Allow: python firectl.py to work properly
-rwxr-xr-x[-rw-r--r--]firectl.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/firectl.py b/firectl.py
index c970a52..0e4ee18 100644..100755
--- a/firectl.py
+++ b/firectl.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# firectl - integrate firejail sandboxing in the Linux desktop
# Copyright (C) 2015-2017 Rahiel Kasim
@@ -203,3 +204,7 @@ def restore():
if len(conf) > 0:
enable.callback(conf, update_config=False)
+
+
+if __name__ == '__main__':
+ cli()