From 894a3f51f29e462edf0e3dd7ec7e4427d3660d7f Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Wed, 8 Nov 2023 13:01:40 +1100 Subject: [PATCH] fix: Typo in domain price --- gift.py | 2 +- main.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gift.py b/gift.py index 769afda..03b2442 100644 --- a/gift.py +++ b/gift.py @@ -82,7 +82,7 @@ def gift(name,email,referer, ip): domain = domains_market['domains'][0]['name'] print("Buying: " + domain,flush=True) - price = int(domains_market['domains'][0]['ammount']) + price = int(domains_market['domains'][0]['amount']) if price > max_price*1000000: return "Domain price too high
Check back in a few minutes" diff --git a/main.py b/main.py index e562c6b..4335847 100644 --- a/main.py +++ b/main.py @@ -37,11 +37,9 @@ def submit(): ip = request.remote_addr if 'X-REAL-IP' in request.headers: - print("X-REAL-IP",flush=True) ip = request.headers['X-REAL-IP'] if 'X-Real-Ip' in request.headers: - print("X-Real-Ip2",flush=True) ip = request.headers['X-Real-Ip'] if hidden == '':