예제 #1
0
    def get_email_entry_data(self):
        """
        This is the data that is sent to the main window and the
        registration
        """

        data = {}
        data['email'] = self.email_entry.get_text()

        # Cache emails if they are retrieved
        cache_emails(data['email'])
        return data
예제 #2
0
    def get_email_entry_data(self):
        """
        This is the data that is sent to the main window and the
        registration
        """

        data = {}
        data['email'] = self.email_entry.get_text()

        # Cache emails if they are retrieved
        cache_emails(data['email'])
        return data
예제 #3
0
    def get_email_entry_data(self):
        """This is the data that is sent to the main window and the
        registration
        """

        data = {}

        data["email"] = self.email_entry.get_text()
        if self.secondary_email_entry:
            data["secondary_email"] = self.secondary_email_entry.get_text()
        else:
            data["secondary_email"] = ""

        data["marketing_enabled"] = self.marketing_checkbutton.get_active()

        # Cache emails if they are retrieved
        cache_emails(data["email"], data["secondary_email"], data["marketing_enabled"])

        return data
예제 #4
0
 def cache_emails(self):
     data = self.get_email_entry_data()
     cache_emails(data["email"], data["secondary_email"])
예제 #5
0
 def cache_emails(self):
     data = self.get_email_entry_data()
     cache_emails(data['email'])
예제 #6
0
 def cache_emails(self):
     data = self.get_email_entry_data()
     cache_emails(data['email'])