mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-06 08:33:56 +00:00
Fixed a harmless mistake that I made 80 commits earlier
This commit is contained in:
parent
3488a761b8
commit
e1a3a9e077
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user