Fix two small bugs.

This commit is contained in:
Lost-MSth
2021-01-10 16:29:18 +08:00
parent e0e6128826
commit 98358ad216
2 changed files with 2 additions and 3 deletions

View File

@@ -445,7 +445,7 @@ def add_some_random_redeem(amount, redeem_type, items):
message = None
conn = sqlite3.connect('./database/arcaea_database.db')
c = conn.cursor()
i = 0
i = 1
while i <= amount:
code = random_str()
c.execute(