

def set_photo(self, filename):
    'Set the filename of the photo'
    self.data['Photo'] = filename

dataset/ETHPy150Open nathangrigg/dayone_export/dayone_export/__init__.py Entry.set_photo/original