playlist_bot.py
def add_new_submissions(self):
        """ Add newly created reddit submissions to list of watched submissions """

        # submissions created before this shouldn't be watched
        # time now - 12h for timeout
        timeout = time.time() - 43200

        for submission in reddit.get_hot_submissions("AskReddit"):

            if submission not in self.submissions and submission not in self.playlists.keys():
                if  timeout < submission.created:
                    self.submissions.append(submission)
                    logging.info("Adding Submission - " + submission.title)
 Add newly created reddit submissions to list of watched submissions 
Add newly created reddit submissions to list of watched submissions
Add newly created reddit submissions to list of watched submissions
def add_new_submissions(self):
        timeout = time.time() - 43200
        for submission in reddit.get_hot_submissions("AskReddit"):
            if submission not in self.submissions and submission not in self.playlists.keys():
                if  timeout < submission.created:
                    self.submissions.append(submission)
                    logging.info("Adding Submission - " + submission.title)
def add_new_submissions ( self ) : timeout = time . time ( ) - 43200 for submission in reddit . get_hot_submissions ( "AskReddit" ) : if submission not in self . submissions and submission not in self . playlists . keys ( ) : if timeout < submission . created : self . submissions . append ( submission ) logging . info ( "Adding Submission - " + submission . title )
Add newly created reddit submissions to list of watched submissions
Add newly created reddit submissions to list of watched submissions
""" Add newly created reddit submissions to list of watched submissions """ # submissions created before this shouldn't be watched # time now - 12h for timeout
self