Skip to content

Commit bf54fa2

Browse files
Merge branch 'master' of github.com:CodeLongAndProsper90/P2P
2 parents bc7ebd5 + 690dbe2 commit bf54fa2

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

one.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Sound made by Alexander, on http://www.orangefreesounds.com/
21
import socket
32
import tqdm
43
import os
54
import sys
65
import hashlib
76
from hurry.filesize import size
7+
import pyfiglet
88
def warn_md5():
99
print(f"Warning! MD5s do not match! {sent_hash}/{new_hash}")
1010
print("This means that either the transfer went wrong, or the file ")
@@ -29,16 +29,8 @@ def warn_md5():
2929
if not len(sys.argv) == 2:
3030
print('Usage: download')
3131
if sys.argv[1] == 'whomadethis?':
32-
print("""
33-
___
34-
/ | ____ _________ ____ __________ _____ ___ ____ ___ ___ _____
35-
/ /| | / __ \/ ___/ __ \/ __ `/ ___/ __ `/ __ `__ \/ __ `__ \/ _ \/ ___/
36-
/ ___ | / /_/ / / / /_/ / /_/ / / / /_/ / / / / / / / / / / / __/ /
37-
/_/ |_| / .___/_/ \____/\__, /_/ \__,_/_/ /_/ /_/_/ /_/ /_/\___/_/
38-
/_/ /____/
39-
""")
32+
print(pyfiglet.figlet_format("A Programmer"))
4033
sys.exit()
41-
4234
if sys.argv[1] == 'transmit':
4335
SEP = "<SEP>"
4436
BUFFER_SIZE = 4096

0 commit comments

Comments
 (0)