Permalink
Browse files

putting host/port conf into a different section because it is only fo…

…r the request program
  • Loading branch information...
1 parent 833fc02 commit 92d93b24201845c943bf6bc245dfd0bcb55826a9 BuzzTroll committed Sep 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lantorrent/pylantorrent/__init__.py
View
4 lantorrent/pylantorrent/__init__.py
@@ -79,11 +79,11 @@ def load_settings(self, ini_file):
self.pw = s.get("security", "password")
self.logfile = s.get("log", "file").replace("@LANTORRENT_HOME@", self.lt_home)
try:
- self.host = s.get("host", "host")
+ self.host = s.get("request", "host")
except Exception, ex:
pass
try:
- self.port = s.getint("port", "port")
+ self.port = s.getint("request", "port")
except Exception, ex:
pass
try:

0 comments on commit 92d93b2

Please sign in to comment.