..... self.logger.info("decrypting encrypted tracks") self.logger.info("note: does not do this in parallel since we're IO bound anyway") input('press enter when ready to continue: ') enc_tracks = [x for x in [vt] + ats if x.encrypted] for track in enc_tracks: .....