Merge branch 'master' of github.com:navanchauhan/Curie-Web

fixed conflict
This commit is contained in:
Navan Chauhan 2020-08-01 15:38:20 +05:30
commit e69e058f6b
2 changed files with 8 additions and 4 deletions

View File

@ -35,7 +35,11 @@ def email(zipArchive):
s = smtplib.SMTP('smtp.gmail.com', 587) s = smtplib.SMTP('smtp.gmail.com', 587)
s.starttls() s.starttls()
s.login(fromaddr, 'thqw spyz ewqn rahy') <<<<<<< HEAD
s.login(fromaddr, 'okrs shoc ahtk idui')
=======
s.login(fromaddr, 'okrs shoc ahtk idui')
>>>>>>> d68da3f38ac2b3740a2604dbf15e39fe9e307329
text = msg.as_string() text = msg.as_string()
@ -92,4 +96,4 @@ with tempfile.TemporaryDirectory() as directory:
email(zi) email(zi)
#print((str(zi) + ".zip")) #print((str(zi) + ".zip"))
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID)) mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
mycon.commit() mycon.commit()

View File

@ -36,7 +36,7 @@ def email(compressedFile):
s = smtplib.SMTP('smtp.gmail.com', 587) s = smtplib.SMTP('smtp.gmail.com', 587)
s.starttls() s.starttls()
s.login(fromaddr, 'ircd mday avbc tice') s.login(fromaddr, 'okrs shoc ahtk idui')
text = msg.as_string() text = msg.as_string()
@ -91,4 +91,4 @@ with tempfile.TemporaryDirectory() as directory:
make_archive(zi, 'zip', directory) make_archive(zi, 'zip', directory)
email(zi) email(zi)
mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID)) mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID))
mycon.commit() mycon.commit()