Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def create_instance():
with open("upbit.txt") as f:
lines = f.readlines()
key = lines[0].strip()
secret = lines[1].strip()
inst = pyupbit.Upbit(key, secret)
return inst
def create_instance():
with open("upbit.txt") as f:
lines = f.readlines()
key = lines[0].strip()
secret = lines[1].strip()
inst = pyupbit.Upbit(key, secret)
return inst