Fix NameError during set_override_filename.
This commit is contained in:
parent
f8e03bed21
commit
55e66c8656
1 changed files with 1 additions and 1 deletions
|
@ -1153,7 +1153,7 @@ class Photo(ObjectBase):
|
|||
'override_filename': new_filename,
|
||||
}
|
||||
self.photodb.sql_update(table='photos', pairs=data, where_key='id')
|
||||
self.basename = override_filename
|
||||
self.basename = new_filename
|
||||
|
||||
self.__reinit__()
|
||||
|
||||
|
|
Loading…
Reference in a new issue