mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +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.remove(same)
|
||||
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:
|
||||
changed[i] = (rel_item, [])
|
||||
db.session.flush()
|
||||
|
Loading…
x
Reference in New Issue
Block a user