From 885227160ae4a261fc9004d19bac978255756e86 Mon Sep 17 00:00:00 2001 From: beucismis Date: Sun, 20 Jun 2021 14:26:04 +0300 Subject: [PATCH] Fixed wrong variable name --- backupill/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupill/utils.py b/backupill/utils.py index eb84bb4..dd461a0 100644 --- a/backupill/utils.py +++ b/backupill/utils.py @@ -89,7 +89,7 @@ def generate_backup(ascfile): for char in list(ASCDATA): if len(chunkdata) + 1 > QRCODE_MAX_BYTE: codeblocks.append(_generate_barcode(chunkdata)) - chunkdata = "^" + str(len(code_blocks) + 1) + " " + chunkdata = "^" + str(len(codeblocks) + 1) + " " chunkdata += char codeblocks.append(_generate_barcode(chunkdata))