diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-21 15:10:23 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-21 15:10:23 +0200 |
commit | 6f8da9534efd4b3833a77a10bff9d009a84dcf80 (patch) | |
tree | 05c2f51f1fa10aadc4ca930f307b1b1d21ebd22a /pyLoadCli.py | |
parent | cleaned rslayer plugin (diff) | |
download | pyload-6f8da9534efd4b3833a77a10bff9d009a84dcf80.tar.xz |
Änderung: 1564:40817b13d8b3
Zweig: dev
Marke: tip
Nutzer: Cptn_Sandwich
Datum: Tue Jun 21 14:02:50 2011 +0200
Zusammenfassung: use process names on linux instead of "python"
Diffstat (limited to 'pyLoadCli.py')
-rw-r--r-- | pyLoadCli.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyLoadCli.py b/pyLoadCli.py index fd5bfbc1c..92d382db1 100644 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -42,6 +42,7 @@ from module.utils import formatSize, decode import ConfigParser from module.remote.thriftbackend.ThriftClient import ThriftClient, NoConnection, NoSSL, WrongLogin, ConnectionClosed from module.lib.Getch import Getch +from module.lib.rename_process import RenameProcess class Cli: def __init__(self, client, command): @@ -427,6 +428,7 @@ def writeConfig(opts): print _("Couldn't write user config file") if __name__ == "__main__": + RenameProcess('pyLoadCli') config = {"addr": "127.0.0.1", "port": "7227", "language": "en"} try: config["language"] = os.environ["LANG"][0:2] |