diff --git a/setup.py b/setup.py index 78d78d7..42a4e09 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='zebra_day', - version='0.0.22', + version='0.0.23', description='A Python library to manage a zebra printer fleet and an api for ZPL print requests.', author='John Major', author_email='john@daylilyinformatics.com', diff --git a/zebra_day/print_mgr.py b/zebra_day/print_mgr.py index 12807f8..73c2b4c 100644 --- a/zebra_day/print_mgr.py +++ b/zebra_day/print_mgr.py @@ -186,6 +186,7 @@ def main(): print(f"\nIP detected: {ip} ... using IP root: {ip_root}\n\n ..... now scanning for zebra printers on this network (which may take a few minutes...)") os.system('sleep 2.2') import zebra_day.print_mgr as zdpm + os.chdir(os.path.dirname(zdpm.__file__)) zp = zdpm.zpl() zp.probe_zebra_printers_add_to_printers_json(ip_stub=ip_root)