Skip to content

Commit 14d5d4a

Browse files
author
Name
committed
Updated Banner
1 parent 1dfba95 commit 14d5d4a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pat.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/python3
2-
# All software written by Tomas. (https://github.com/shelbenheimer/ata-shell)
2+
# All software written by Tomas. (https://github.com/shelbenheimer)
33

44
import os
55
import sys
@@ -18,6 +18,7 @@
1818
DEFAULT_TIMEOUT = 15
1919
DEFAULT_TLS = True
2020

21+
BANNER = "Software written by Tomas. Available on GitHub. (https://github.com/shelbenheimer)"
2122
REQUIRED = [ '-s', '-r', '-p', '-t', '-f' ]
2223

2324
class Post:
@@ -94,10 +95,13 @@ def CheckRequired(args, required):
9495
print("Flag criteria not met.")
9596
sys.exit()
9697

98+
print(BANNER)
99+
97100
post.ParseArgs(sys.argv)
98101
post.EstablishConnection()
99102

100103
mail = post.ConstructMail()
101104
post.SendMail(mail)
105+
print("Sent!")
102106
except KeyboardInterrupt:
103107
print("Caught interruption. Exiting gracefully.")

0 commit comments

Comments
 (0)