playlist_bot.py
def remove_old_submissions(self):
        """ Remove old reddit submissions from list of watched submissions """

        # time now - 12h for timeout
        timeout = time.time() - 43200

        for submission in self.submissions:
            if timeout > submission.created:
                self.submissions.remove(submission)
                logging.info("Removing Submission - " + submission.title)
 Remove old reddit submissions from list of watched submissions 
Remove old reddit submissions from list of watched submissions
Remove old reddit submissions from list of watched submissions
def remove_old_submissions(self):
        timeout = time.time() - 43200
        for submission in self.submissions:
            if timeout > submission.created:
                self.submissions.remove(submission)
                logging.info("Removing Submission - " + submission.title)
def remove_old_submissions ( self ) : timeout = time . time ( ) - 43200 for submission in self . submissions : if timeout > submission . created : self . submissions . remove ( submission ) logging . info ( "Removing Submission - " + submission . title )
Remove old reddit submissions from list of watched submissions
Remove old reddit submissions from list of watched submissions
""" Remove old reddit submissions from list of watched submissions """ # time now - 12h for timeout
self