Skip to content

Commit

Permalink
Fix dialog names with spaces not matching anything in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdstaaij committed Jan 2, 2016
1 parent 95c9157 commit 240db63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def get_media_dir(dialog)
end

def strip_tg_special_chars(print_name)
print_name.gsub(/[_@#]/, '')
print_name.gsub(/[_@# ]/, '')
end

0 comments on commit 240db63

Please sign in to comment.