Skip to content

Commit

Permalink
Fixed $ issue
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-r committed Jan 2, 2015
1 parent eb4a336 commit 49cdd6a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
dr14tmeter (1.0.16-1) stable; urgency=medium

* News: Bug fix release

-- Your_Name <[email protected]> Tue, 28 Nov 2012 19:30:00 +0100

dr14tmeter (1.0.15-1) stable; urgency=medium

* News: Added support for avconv, added ac3 support
Expand Down
8 changes: 4 additions & 4 deletions dr14tmeter/audio_file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def to_wav( self , file_name ):
tmp_dir = tempfile.gettempdir()
tmp_file = os.path.join( tmp_dir , file ) + ".wav"

file_name = re.sub( "(\"|`)" , r"\\\1" , file_name )
tmp_file = re.sub( "(\"|`)" , r"_xyz_" , tmp_file )
file_name = re.sub( "(\"|`|\$)" , r"\\\1" , file_name )
tmp_file = re.sub( "(\"|`|\$)" , r"_xyz_" , tmp_file )

full_command = full_command + " " + self.get_cmd_options( file_name , tmp_file )

Expand All @@ -84,8 +84,8 @@ def read_audio_file_new( self , file_name , target ):
tmp_dir = tempfile.gettempdir()
tmp_file = os.path.join( tmp_dir , file ) + ".wav"

file_name = re.sub( "(\"|`)" , r"\\\1" , file_name )
tmp_file = re.sub( "(\"|`)" , r"_xyz_" , tmp_file )
file_name = re.sub( "(\"|`|\$)" , r"\\\1" , file_name )
tmp_file = re.sub( "(\"|`|\$)" , r"_xyz_" , tmp_file )

full_command = full_command + " " + self.get_cmd_options( file_name , tmp_file )

Expand Down
2 changes: 1 addition & 1 deletion dr14tmeter/dr14_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# Current version
v_major = 1
v_minor = 0
v_revision = 15
v_revision = 16
###########################

# latest version
Expand Down

0 comments on commit 49cdd6a

Please sign in to comment.