Skip to content

Commit d8d5dc5

Browse files
committed
fix urllib3 and urllib error issue
1 parent d87b754 commit d8d5dc5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

main.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,12 +294,6 @@ def jam(nomor): # Don't Remove Code !!!!
294294
time.sleep(1000) # Tunda 1000 detik
295295
rto = 1
296296

297-
except urllib.request.HTTPError: # HTTPSConnectionPool() A Connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
298-
print("")
299-
autoketik("--A Connection attempt failed because the connected party did not properly respond after a period of time--")
300-
time.sleep(1000) # Tunda 1000 detik
301-
rto = 1
302-
303297
except urllib3.exceptions.ProtocolError : # HTTPSConnectionPool() A Connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
304298
print("")
305299
autoketik("--A Connection attempt failed because the connected party did not properly respond after a period of time--")

0 commit comments

Comments
 (0)