diff --git a/print_labels_from_csv.py b/print_labels_from_csv.py index e3b54dd..2284307 100644 --- a/print_labels_from_csv.py +++ b/print_labels_from_csv.py @@ -6,7 +6,7 @@ import os medir = os.path.dirname(__file__) example_data_path = os.path.join(medir, 'labels.csv') -df = pd.read_csv(example_data_path) +df = pd.read_csv(example_data_path, converters={i: str for i in range(3)}) printer = ql_wrapper.BrotherQlPrinter(model='QL-800', printer_connection='usb://0x04f9:0x209b')