Network Error Name Fix

Fix - Old name art was replaced by new one
This commit is contained in:
Artur Tretiak 2018-10-29 23:25:28 +02:00
parent 0c269fd086
commit ccff196041

View File

@ -1,4 +1,4 @@
#SocialFish checks functions #Checks functions
from urllib.request import urlopen from urllib.request import urlopen
from os import path, system from os import path, system
@ -16,11 +16,11 @@ def checkConnection(host='http://duckduckgo.com'): #Connection check
except: except:
return False return False
if checkConnection() == False: if checkConnection() == False:
print (''' print ('''{1}
....._____....... ____ ____ ____ _ ____ _ ____ _ ____ _ _ _ _ . ___ ___ ___ _ _ {0}___ _ _ ___{1}
/ \/| [__ | | | | |__| | |___ | [__ |__| |__| | ] | ] | |__ |\ | {0}|__ \__/ |__{1}
\o__ /\| ___] |__| |___ | | | |___ | | ___] | | | | | ]__| ]__| |__ | \| {0}|__ || |__{1}
\|
{0}[{1}!{0}]{1} Network error. Verify your connection.\n {0}[{1}!{0}]{1} Network error. Verify your connection.\n
'''.format(RED, DEFAULT)) '''.format(RED, DEFAULT))
exit(0) exit(0)