Skip to content

Commit c735bf9

Browse files
committed
Change price and remove quota
1 parent b515eb8 commit c735bf9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coinslot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989

9090
if confirm.is_pressed:
9191
state = False
92-
total = counter * 5
92+
total = counter * 4 # 1 peso = 4 minutes
9393

9494
if total == 0:
9595
lcd.clear()
@@ -100,7 +100,7 @@
100100
break
101101

102102
def generate_guest():
103-
voucher = c.create_voucher(1, 1, total, up_bandwidth=4098, down_bandwidth=4098, byte_quota=1000, note="unipi guest")
103+
voucher = c.create_voucher(1, 1, total, up_bandwidth=4098, down_bandwidth=4098, note="unipi guest") # remove quota
104104
code = voucher[0].get('code')
105105

106106
def format_code(string):

0 commit comments

Comments
 (0)