This commit is contained in:
parent
85bc56c11d
commit
7704ea3ea7
|
|
@ -152,9 +152,9 @@ class earner:
|
||||||
return 0
|
return 0
|
||||||
self.write_to_log("Subscription failed! - " + str(subscription))
|
self.write_to_log("Subscription failed! - " + str(subscription))
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
|
|
||||||
def redeem(self,amount):
|
def redeem(self,amount):
|
||||||
|
#Redeem
|
||||||
print(f"{datetime.datetime.now().strftime('[%Y/%m/%d %H:%M:%S]')} | {str(self.connector).upper()} | Redeeming {amount} {self.currency}")
|
print(f"{datetime.datetime.now().strftime('[%Y/%m/%d %H:%M:%S]')} | {str(self.connector).upper()} | Redeeming {amount} {self.currency}")
|
||||||
self.write_to_log(f"Redeeming {amount} {self.currency}")
|
self.write_to_log(f"Redeeming {amount} {self.currency}")
|
||||||
available_product = self.connector.get_available_products(self.currency)
|
available_product = self.connector.get_available_products(self.currency)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue