Skip to content

Commit

Permalink
Add a blank line after function definition
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Nov 13, 2024
1 parent ce90b29 commit 1e8ebf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions picard/util/textencoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ def replace_non_ascii(string, repl="_", pathsave=False, win_compat=False):

def error_repl(e, repl="_"):
return (repl, e.start + 1)

codecs.register_error('repl', partial(error_repl, repl=repl))
# Decoding and encoding to allow replacements
return interim.encode('ascii', 'repl').decode('ascii')
Expand Down

0 comments on commit 1e8ebf9

Please sign in to comment.