# HG changeset patch # User Ben Croston # Date 1313221073 -3600 # Node ID 0687a66668736204728953865a05e53f04325e8d # Parent d3c5d7c62f57b81ee63013e81c994c8733b34348 Case insensitive platform diff -r d3c5d7c62f57 -r 0687a6666873 zebra.py --- a/zebra.py Fri Aug 12 22:02:09 2011 +0100 +++ b/zebra.py Sat Aug 13 08:37:53 2011 +0100 @@ -28,7 +28,7 @@ def output(self, commands): assert self.queue is not None - if sys.platform.startswith('win'): + if sys.platform.lower().startswith('win'): self._output_win(commands) else: self._output_unix(commmands) @@ -45,7 +45,7 @@ raise Exception('Not yet implemented') def getqueues(self): - if sys.platform.startswith('win'): + if sys.platform.lower().startswith('win'): return self._getqueues_win() else: return self._getqueues_unix()