Skip to content

Commit 3f0d2d5

Browse files
authored
Merge pull request #6 from passlickdev/dev/1.0.5
fix: input type error
2 parents a4e64e0 + b0e9949 commit 3f0d2d5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "scanner-cli"
7-
version = "1.0.4"
7+
version = "1.0.5"
88
description = "CLI tool to read barcodes via stdin and route them to REST endpoints based on configurable modes."
99
readme = "README.md"
1010
authors = [{ name = "Passlick Development", email = "hello@passlickdev.com" }]

scanner_cli/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def schedule_timeout():
303303
evaluated = extra
304304
else:
305305
evaluated = extra
306-
payload["input"] = sanitize_input(evaluated)
306+
payload["input"] = sanitize_input(str(evaluated))
307307
payload["action"] = "scan+input"
308308

309309
try:

0 commit comments

Comments
 (0)