mirror of
https://git.osuv.de/m/gitea-mariadb-migration.git
synced 2024-05-12 03:55:05 +00:00
minor error, 10 should be variable
This commit is contained in:
@ -7,7 +7,7 @@ import binascii
|
||||
import random
|
||||
|
||||
def GetRandomString(N):
|
||||
return ''.join(random.choice("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") for _ in range(10))
|
||||
return ''.join(random.choice("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz") for _ in range(N))
|
||||
|
||||
def dict_factory(cursor, row):
|
||||
d = {}
|
||||
|
Reference in New Issue
Block a user