def open_subscription_page(self, content_type):
        """
        Open an instance of the subscriptions page with the selected content.
        """
        from .subscription_page import SubscriptionPage

        with self.term.loader('Loading {0}s'.format(content_type)):
            page = SubscriptionPage(self.reddit, self.term, self.config,
                                    self.oauth, content_type=content_type)
        if not self.term.loader.exception:
            return page
def open_subscription_page ( self , content_type ) : from . subscription_page import SubscriptionPage with self . term . loader ( 'Loading {0}s' . format ( content_type ) ) : page = SubscriptionPage ( self . reddit , self . term , self . config , self . oauth , content_type = content_type ) if not self . term . loader . exception : return page
Open an instance of the subscriptions page with the selected content.