mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-04 01:44:15 +00:00
apply new ruff rules
This commit is contained in:
1 parent
d940e32dac
commit
f027464d0e
7 files changed
+19
-21
No files matched your search
@@ -78,7 +78,7 @@ class Subscription(models.Model):
|
||||
|
||||
from counter.models import Customer
|
||||
|
||||
customer, _ = Customer.get_or_create(self.member)
|
||||
Customer.get_or_create(self.member)
|
||||
# Someone who subscribed once will be considered forever
|
||||
# as an old subscriber.
|
||||
self.member.groups.add(settings.SITH_GROUP_OLD_SUBSCRIBERS_ID)
|
||||
|
||||
Reference in new issue
Block a user