mini spremembe

master
Kostanjevec 2022-05-02 00:17:32 +02:00
parent 2de39b3b20
commit 50518a326e
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from random import randint, choices
#collection
clltn = []
# card = title, due, interval
# card = id, title, due, interval, owned_by, shared
def generate_card (clltn=[], user="bob", shared=False):
id = len(clltn) + 1
title = "".join([chr(randint(ord('a'), ord('z'))) for i in range(5)])