Changeset 1190 for pykota/trunk
- Timestamp:
- 11/18/03 15:11:07 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/cupspykota
r1186 r1190 24 24 # 25 25 # $Log$ 26 # Revision 1.9 2003/11/18 14:11:07 jalet 27 # Small fix for bizarre urls 28 # 26 29 # Revision 1.8 2003/11/15 14:26:44 jalet 27 30 # General improvements to the documentation. … … 124 127 fulldevice_uri = os.environ.get("DEVICE_URI", "") 125 128 device_uri = fulldevice_uri[len("cupspykota:"):] 129 if device_uri.startswith("//") : 130 device_uri = device_uri[2:] 126 131 os.environ["DEVICE_URI"] = device_uri 127 132 # TODO : check this for more complex urls than ipp://myprinter.dot.com:631/printers/lp