Skip to content

Commit a68d1d8

Browse files
update to 3.0.6000
1 parent d18f3a6 commit a68d1d8

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

Samples/document_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
image_path = input(
1515
">> Input your image full path:\n"
1616
">> 'Enter' for sample image or 'Q'/'q' to quit\n"
17-
).strip('\'"')
17+
).strip(' \'"')
1818

1919
if image_path.lower() == "q":
2020
sys.exit(0)

Samples/driver_license_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def print_results(result: ParsedResult) -> None:
102102
image_path = input(
103103
">> Input your image full path:\n"
104104
">> 'Enter' for sample image or 'Q'/'q' to quit\n"
105-
).strip('\'"')
105+
).strip(' \'"')
106106

107107
if image_path.lower() == "q":
108108
sys.exit(0)

Samples/gs1_ai_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def current_dir() -> Path:
7474
image_path = input(
7575
">> Input your image full path:\n"
7676
">> 'Enter' for sample image or 'Q'/'q' to quit\n"
77-
).strip('\'"')
77+
).strip(' \'"')
7878

7979
if image_path.lower() == "q":
8080
sys.exit(0)

Samples/mrz_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def print_results(result: ParsedResult) -> None:
9797
image_path = input(
9898
">> Input your image full path:\n"
9999
">> 'Enter' for sample image or 'Q'/'q' to quit\n"
100-
).strip('\'"')
100+
).strip(' \'"')
101101

102102
if image_path.lower() == "q":
103103
sys.exit(0)

Samples/vin_scanner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def print_results(result: ParsedResult) -> None:
7676
else:
7777
cvr_instance = CaptureVisionRouter()
7878
while (True):
79-
image_path = input(">> Enter the image path (or 'Q'/'q' to quit):").strip('\'"')
79+
image_path = input(">> Enter the image path (or 'Q'/'q' to quit):").strip(' \'"')
8080
if image_path == "":
8181
print("Invalid path.")
8282
continue

0 commit comments

Comments
 (0)