Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah-Wilderom committed Jul 24, 2022
1 parent c23f1ae commit b970202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def run(self):
self.runCommand()

def load(self):
hostname = socket.gethostname()
IPAddr = socket.gethostbyname(hostname)
print(f"{colors.HEADER}Welcome to Bitvavo Trading Bot, created by Noah Wilderom{colors.END}")
if self.OS == 'Windows':
hostname = socket.gethostname()
IPAddr = socket.gethostbyname(hostname)
print(f"{colors.CYAN}Your Computer Name is:{colors.END} {hostname}")
print(f"{colors.CYAN}Your Computer IP Address is:{colors.END} {IPAddr}")

Expand Down

0 comments on commit b970202

Please sign in to comment.