MCPcopy Index your code
hub / github.com/NARKOZ/hacker-scripts / main

Function main

python3/kumar_asshole.py:34–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32
33
34def main():
35 g = gmail.login(GMAIL_USERNAME, GMAIL_PASSWORD)
36 for mail in g.inbox().mail(unread=True, sender=KUMAR_EMAIL, prefetch=True):
37 if KEYWORDS_REGEX.search(mail.body):
38 # Restore DB and send a reply.
39 mail.add_label('Database fixes')
40 send_reply(mail.subject)
41
42
43if __name__ == '__main__':

Callers 1

kumar_asshole.pyFile · 0.70

Calls 1

send_replyFunction · 0.85

Tested by

no test coverage detected