if not os.path.isfile(self.talkdb_file):
            with open(self.talkdb_file, 'w') as file:
                file.write('')
Fixed.