1
0
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:
Alexander Graf 2020-12-16 22:39:50 +01:00
parent 2cd3acdc1a
commit 0051b93077

View File

@ -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()