Fixed Local host

pull/605/head
DarkMidus 2020-05-24 13:18:27 -05:00
parent 0071ee2166
commit bee11f1b69
2 changed files with 1 additions and 8 deletions

View File

@ -45,7 +45,7 @@ def start_localhost(port):
# '')
simple_informant.global_message()
print(localization.lang_start_localhost["localhost_server"])
host = simple_informant.get_ip_addr
host = "127.0.0.1"
print(localization.lang_start_localhost["your_localhost_is"] + host)
set_port()
#run_command("cd Server/www/

View File

@ -200,13 +200,6 @@ def remove_readonly(func, path, _):
func(path)
def get_ip_addr():
try:
host_ip = socket.gethostbyname(socket.gethostname())
except:
print(localization.lang_get_ip_addr["unable_to_get_ip"])
return host_ip
def global_message():
print(global_localization.hidden_eye_logo)
print(global_localization.official_website_link)