Skip to content

Commit eed9e79

Browse files
committed
Single notification for starting
1 parent 22da9ac commit eed9e79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packet/commands.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ def create_packets(freshmen_csv):
126126
c_m = ldap_get_constitutional_maintainers()
127127
drink = ldap_get_drink_admins()
128128

129+
# Packet starting notifications
130+
packets_starting_notification(start)
131+
129132
# Create the new packets and the signatures for each freshman in the given CSV
130133
freshmen_in_csv = parse_csv(freshmen_csv)
131134
print("Creating DB entries and sending emails...")
@@ -134,7 +137,6 @@ def create_packets(freshmen_csv):
134137
db.session.add(packet)
135138
send_start_packet_mail(packet)
136139
packet_starting_notification(packet)
137-
packets_starting_notification(start)
138140

139141
for member in all_upper:
140142
sig = UpperSignature(packet=packet, member=member.uid)

0 commit comments

Comments
 (0)