diff options
author | André Apitzsch <git@apitzsch.eu> | 2018-01-14 00:07:25 +0300 |
---|---|---|
committer | André Apitzsch <git@apitzsch.eu> | 2018-01-14 00:50:38 +0300 |
commit | 7943120b25bfb61dba43d43ef1ad2085011dca6a (patch) | |
tree | c8e4da3c17e7b3f0a11a1efd9c83f240b5e7b8d3 /launch.py | |
parent | aa6e9e7084a81d4263e12c378ab1fae6ce94a851 (diff) |
Use setuptools' automatic script creation
Diffstat (limited to 'launch.py')
-rwxr-xr-x | launch.py | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -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() |