From 0780898e8a99266112b077c9a88edafc99cdd9fe Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 5 Mar 2021 14:46:41 +0100 Subject: Nom de dieu de putain de bordel de merde de saloperie de connard d'enculer ta mère It's like wiping your arse with silk. I love it. --- cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli.js') diff --git a/cli.js b/cli.js index 121fb32..53cced6 100755 --- a/cli.js +++ b/cli.js @@ -100,7 +100,7 @@ if ((idx = params.indexOf("-r")) > -1) { const chars = user.chars; hay = curr; const obj = { - id: user.id - 1, // Why tf tho + id: user.id, // Why tf tho name: `${user.name} ${user.middlename || ""} ${user.surname}`, birthday: answer("Geburtsdatum"), favsub: answer("Lieblingsfach"), @@ -127,7 +127,7 @@ if ((idx = params.indexOf("-r")) > -1) { textex += `\\def\\std${elem}{${obj[elem]}}`; }); - textex += "\\student\n\n"; + textex += `\\student\\studentbackground{${obj.id}}{${obj.qrcode}}\n\n`; // Characteristics olympics kinetics acoustics textex += "\\begin{center}\\begin{minipage}{0.75\\paperwidth}\\begin{center}\n"; -- cgit v1.2.3