Skip to content

Commit

Permalink
Fix json comment stripping function
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Jun 12, 2012
1 parent 1a43c50 commit 4218714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FavoriteFilesLib/file_strip/json.py
Expand Up @@ -33,8 +33,8 @@ def remove_comma(m, preserve_lines=False):
) )




def strip_comments(text, save_newlines): def strip_comments(text, preserve_lines=False):
return strip_comments('json', text, save_newlines) return Comments('json', preserve_lines).strip(text)




def sanitize_json(text, preserve_lines=False): def sanitize_json(text, preserve_lines=False):
Expand Down

0 comments on commit 4218714

Please sign in to comment.