Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Fix bug where I didn't escape something right :(
· 05094319
Imran Hussain
authored
Mar 10, 2019
05094319
Fix some bugs introduced by typos :(
· eafb0a46
Imran Hussain
authored
Mar 10, 2019
eafb0a46
Hide whitespace changes
Inline
Side-by-side
sucsam.py
View file @
eafb0a46
...
...
@@ -208,7 +208,7 @@ def emailAdminDeleteUser(username):
message
=
MIMEMultipart
()
message
[
'
From
'
]
=
sender
message
[
'
To
'
]
=
"
logs@sucs.org
"
message
[
'
Subject
'
]
=
username
+
''
s
SUCS
account
has
been
deleted
'
message
[
'
Subject
'
]
=
username
+
'
\
'
s SUCS account has been deleted
'
messageBody
=
MIMEText
(
data
,
'
plain
'
,
"
UTF-8
"
)
message
.
attach
(
messageBody
)
...
...
@@ -314,7 +314,7 @@ def reminderMenu():
if
(
option
==
"
1
"
):
for
student
in
studentsBad
:
print
(
str
(
student
[
0
])
+
"
because the DB says:
"
+
str
(
student
[
1
])
)
for
soc
in
soc
e
itiesBad
:
for
soc
in
soci
e
tiesBad
:
print
(
str
(
soc
[
0
])
+
"
because the DB says:
"
+
str
(
soc
[
1
])
)
for
ass
in
associatesBad
:
print
(
str
(
ass
[
0
])
+
"
because the DB says:
"
+
str
(
ass
[
1
])
)
...
...