Skip to content

Commit

Permalink
Merge pull request #12 from macmenot/patch-1
Browse files Browse the repository at this point in the history
Use Linux-style cmd on any non-Windows platform
  • Loading branch information
simon-r committed Apr 26, 2013
2 parents f6c09d0 + 176f6e4 commit 88cfa8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dr14tmeter/audio_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
class AudioFileReader:

def __init__(self):
if sys.platform.startswith('linux'):
self.__cmd = "%s " % self.get_cmd()
elif sys.platform.startswith('win'):
if sys.platform.startswith('win'):
self.__cmd = ".\\decoder\\%s " % self.get_cmd()
else:
self.__cmd = "%s " % self.get_cmd()

def get_cmd(self):
pass
Expand Down

0 comments on commit 88cfa8b

Please sign in to comment.