Added AUTHORS file and cleaned up some code.

This commit is contained in:
Johannes Findeisen 2022-09-08 05:32:59 +02:00
commit ae53c48815
3 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
PRIMARY AUTHORS are and/or have been (alphabetic order):
PRIMARY AUTHORS (alphabetic order):
* Findeisen, Johannes
Main Developer since the first code line.
github.com profile: <https://github.com/hanez/>
openhub.net profile: <https://www.openhub.net/accounts/hanez>
Main Developer and maintainer.
github.com: <https://github.com/hanez/>
git.unixpeople.org: <https://git.unixpeople.org/hanez>
Homepage: <http://hanez.org/>

View file

@ -140,7 +140,7 @@ def main():
configuration.set_httpserver(True)
try:
u = Uplink(configuration.get_pid_file(), configuration)
u = Uplink(configuration)
except Exception as err:
logger.error(str('[uplink] core error! {0}'.format(err)))
sys.exit(1)

View file

@ -39,8 +39,8 @@ logger = getLogger('uplink')
class Uplink(Daemon):
def __init__(self, pid_file, configuration):
super().__init__(pid_file)
def __init__(self, configuration):
super().__init__(configuration.get_pid_file())
self.__configuration = configuration
def fetch_data(self, i):