Permalink
Browse files

🚑 res is used before assignment

  • Loading branch information...
yelizariev committed Jul 20, 2018
1 parent 27d54ac commit e308873f44f63681364defdf78551d744a6e7012
Showing with 1 addition and 1 deletion.
  1. +1 −1 reminder_base/reminder_base_models.py
@@ -150,7 +150,7 @@ def write(self, vals):
r_vals = r._check_and_create_reminder_event(r_vals)
res = super(Reminder, r).write(r_vals)
r._update_reminder(r_vals)
return res
return True
class CalendarEvent(models.Model):

0 comments on commit e308873

Please sign in to comment.