From ba71bad13ff73d7ece910c16b623996ddbcb8729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 30 Dec 2021 16:12:24 +0100 Subject: [PATCH] Make scripts executable --- generate_storage_label.py | 4 +++- print_labels_from_csv.py | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) mode change 100644 => 100755 generate_storage_label.py mode change 100644 => 100755 print_labels_from_csv.py diff --git a/generate_storage_label.py b/generate_storage_label.py old mode 100644 new mode 100755 index 6110fea..fc3b011 --- a/generate_storage_label.py +++ b/generate_storage_label.py @@ -1,3 +1,5 @@ +#!/bin/python + import shimatta_label.label_image as li import shimatta_label.brother_ql_wrapper as ql_wrapper from shimatta_label.storage_label import StorageLabel @@ -6,4 +8,4 @@ label = StorageLabel() label.put_content('[stor_uuid]1c5cf30a-829c-4716-abfc-9ae2d4d493b2', '/Test1') printer = ql_wrapper.BrotherQlPrinter(label_format='29x90') -printer.print_image(label.get_pillow_image(), rotation=90, cut=True) \ No newline at end of file +printer.print_image(label.get_pillow_image(), rotation=90, cut=True) diff --git a/print_labels_from_csv.py b/print_labels_from_csv.py old mode 100644 new mode 100755 index aa5b52c..71582d0 --- a/print_labels_from_csv.py +++ b/print_labels_from_csv.py @@ -1,3 +1,5 @@ +#!/bin/python + import pandas as pd import shimatta_label.label_image as li import shimatta_label.brother_ql_wrapper as ql_wrapper