mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-30 04:30:49 +02:00
removed unused variable
This commit is contained in:
parent
2cd3acdc1a
commit
0051b93077
@ -323,7 +323,7 @@ class Base(db.Model):
|
|||||||
new_data.append(rel_data)
|
new_data.append(rel_data)
|
||||||
new.remove(same)
|
new.remove(same)
|
||||||
del new_data[same_idx]
|
del new_data[same_idx]
|
||||||
for i, (ch_item, ch_update) in enumerate(changed):
|
for i, (ch_item, _) in enumerate(changed):
|
||||||
if ch_item is same:
|
if ch_item is same:
|
||||||
changed[i] = (rel_item, [])
|
changed[i] = (rel_item, [])
|
||||||
db.session.flush()
|
db.session.flush()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user