Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
putting host/port conf into a different section because it is only fo…
Browse files Browse the repository at this point in the history
…r the request program
  • Loading branch information
BuzzTroll committed Sep 13, 2010
1 parent 833fc02 commit 92d93b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lantorrent/pylantorrent/__init__.py
Expand Up @@ -79,11 +79,11 @@ def load_settings(self, ini_file):
self.pw = s.get("security", "password") self.pw = s.get("security", "password")
self.logfile = s.get("log", "file").replace("@LANTORRENT_HOME@", self.lt_home) self.logfile = s.get("log", "file").replace("@LANTORRENT_HOME@", self.lt_home)
try: try:
self.host = s.get("host", "host") self.host = s.get("request", "host")
except Exception, ex: except Exception, ex:
pass pass
try: try:
self.port = s.getint("port", "port") self.port = s.getint("request", "port")
except Exception, ex: except Exception, ex:
pass pass
try: try:
Expand Down

0 comments on commit 92d93b2

Please sign in to comment.