Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2018-01-14 00:07:25 +0300
committerAndré Apitzsch <git@apitzsch.eu>2018-01-14 00:50:38 +0300
commit7943120b25bfb61dba43d43ef1ad2085011dca6a (patch)
treec8e4da3c17e7b3f0a11a1efd9c83f240b5e7b8d3 /launch.py
parentaa6e9e7084a81d4263e12c378ab1fae6ce94a851 (diff)
Use setuptools' automatic script creation
Diffstat (limited to 'launch.py')
-rwxr-xr-xlaunch.py12
1 files changed, 2 insertions, 10 deletions
diff --git a/launch.py b/launch.py
index 68e4680e0..20e03a7b7 100755
--- a/launch.py
+++ b/launch.py
@@ -1,12 +1,4 @@
#!/usr/bin/env python3
-import os
-import sys
-
-if sys.platform != 'win32':
- if os.geteuid() == 0:
- sys.exit("You must not launch gajim as root, it is insecure.")
-
-import gajim.gajim as g
-
-g.GajimApplication().run(sys.argv)
+from gajim import gajim
+gajim.main()