Fixed a harmless mistake that I made 80 commits earlier

This commit is contained in:
Asmageddon 2012-05-28 19:04:59 +02:00
parent 3488a761b8
commit e1a3a9e077
2 changed files with 3 additions and 3 deletions

View File

@ -332,7 +332,7 @@ class AllTorrents(BaseMode, component.Component):
"seeding_time","time_added","distributed_copies", "num_pieces",
"piece_length","save_path"]
self.legacy_mode = Legacy(self.stdscr,self.config,self.encoding)
self.legacy_mode = Legacy(self.stdscr, self.encoding)
# component start/update
def start(self):

View File

@ -108,7 +108,7 @@ def commonprefix(m):
class Legacy(BaseMode, component.Component):
def __init__(self, stdscr, console_config, encoding=None):
def __init__(self, stdscr, encoding=None):
component.Component.__init__(self, "LegacyUI")
@ -135,7 +135,7 @@ class Legacy(BaseMode, component.Component):
# Get a handle to the main console
self.console = component.get("ConsoleUI")
self.console_config = console_config
self.console_config = component.get("AllTorrents").config
# show the cursor
curses.curs_set(2)