Update method name

This commit is contained in:
Théo Piboubès
2015-08-16 22:21:24 +02:00
parent f19b96948f
commit ef38b112a2

View File

@@ -37,7 +37,7 @@ class SubscriptionPage(BasePage):
def refresh_content(self):
"Re-download all subscriptions and reset the page index"
self.content = SubscriptionContent.get_list(self.reddit, self.loader)
self.content = SubscriptionContent.from_user(self.reddit, self.loader)
self.nav = Navigator(self.content.get)
@SubscriptionController.register(curses.KEY_ENTER, 10, curses.KEY_RIGHT)
@@ -70,4 +70,4 @@ class SubscriptionPage(BasePage):
row = offset + 1
for row, text in enumerate(data['split_title'], start=row):
if row in valid_rows:
add_line(win, text, row, 1)
add_line(win, text, row, 1)