Changed file name and added some lines
git-svn-id: http://www.neo1973-germany.de/svn@155 46df4e5c-bc4e-4628-a0fc-830ba316316d
This commit is contained in:
parent
9cfd388dc2
commit
da1814349e
1 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# PyTracker Client
|
||||
# PyTrackerClient.py
|
||||
'''
|
||||
author: edistar
|
||||
license: GPL v3 or later
|
||||
|
@ -14,10 +14,10 @@ from dbus import SystemBus, Interface
|
|||
from optparse import OptionParser
|
||||
|
||||
class TrackClient:
|
||||
def __init__(self):
|
||||
self.InitSocket('localhost', 49152)
|
||||
def __init__(self, username, passwordhash, host, port):
|
||||
self.InitSocket(host, port)
|
||||
self.InitDbusStuff()
|
||||
self.InitUserHash('edistar', 'passwdhash')
|
||||
self.InitUserHash(username, passwordhash)
|
||||
|
||||
def InitSocket(self, host, port):
|
||||
# Set the socket parameters
|
Loading…
Reference in a new issue