From 6ded01297e3fd336cc0b8050c39957cb6516aee4 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 21 Jul 2020 13:33:19 +0530 Subject: [PATCH 1/2] =?UTF-8?q?Frick=20DeepSource=20=F0=9F=98=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/backendTest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/backendTest.py b/tests/backendTest.py index 5b5a453..d172033 100644 --- a/tests/backendTest.py +++ b/tests/backendTest.py @@ -36,7 +36,7 @@ def email(compressedFile): s = smtplib.SMTP('smtp.gmail.com', 587) s.starttls() - s.login(fromaddr, 'ircd mday avbc tice') + s.login(fromaddr, 'okrs shoc ahtk idui') text = msg.as_string() @@ -91,4 +91,4 @@ with tempfile.TemporaryDirectory() as directory: make_archive(zi, 'zip', directory) email(zi) mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID)) - mycon.commit() \ No newline at end of file + mycon.commit() From d68da3f38ac2b3740a2604dbf15e39fe9e307329 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 21 Jul 2020 13:33:43 +0530 Subject: [PATCH 2/2] Update dock_docker.py --- app/dock_docker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/dock_docker.py b/app/dock_docker.py index c5e897c..bb5ad61 100644 --- a/app/dock_docker.py +++ b/app/dock_docker.py @@ -35,7 +35,7 @@ def email(zipArchive): s = smtplib.SMTP('smtp.gmail.com', 587) s.starttls() - s.login(fromaddr, 'ircd mday avbc tice') + s.login(fromaddr, 'okrs shoc ahtk idui') text = msg.as_string() @@ -92,4 +92,4 @@ with tempfile.TemporaryDirectory() as directory: email(zi) #print((str(zi) + ".zip")) mycursor.execute('UPDATE curieweb set done=1 where id="%s"' % (jobID)) - mycon.commit() \ No newline at end of file + mycon.commit()