diff --git a/mytwitter.py b/mytwitter.py index c9106d8..e341611 100755 --- a/mytwitter.py +++ b/mytwitter.py @@ -78,11 +78,10 @@ class MyTwitter(): self.account_select.set_active(0) # Add the tabs from last session to the notebook + page_num = self.db['active_page'] for tab, single_tweet in self.db['open_tabs']: self.add_to_notebook(tab, single_tweet) - - # Switch to the correct page from the last session - self.tweet_notebook.set_current_page(self.db['active_page']) + self.tweet_notebook.set_current_page(page_num) # Put Home, @user, Direct Messages, and lists in the View menu for # each user