pull/1028/head
Piero Toffanin 2021-07-28 15:13:20 -04:00
rodzic 7183b4c0dc
commit 834f0f9778
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -94,6 +94,11 @@ class GetShortLink(TaskView):
short_id = gen_short_string(counter)
# Check for conflicts
while shortlinks['i'].get(short_id) is not None:
counter += 1
short_id = gen_short_string(counter)
# task_id --> short id
shortlinks['t'][task_id] = short_id