changeset 22:117c2aac83e5

-
author Ben Croston
date Mon, 29 Aug 2011 19:33:48 +0100
parents ebbc10a4e362
children e4d0e4da5e4d
files zebra.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/zebra.py	Wed Aug 17 21:45:42 2011 +0100
+++ b/zebra.py	Mon Aug 29 19:33:48 2011 +0100
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-
-import subprocess
 import os.path
 import sys
 
@@ -9,6 +7,7 @@
     import win32print
 else:
     IS_WINDOWS = False
+    import subprocess
 
 class zebra(object):
     """A class to communicate with (Zebra) label printers using EPL2"""