update: strip leading/tailing whitespace on author contact fields
Whitespace is not valid in email addresses, URLs, or phone numbers, and the triple-t/fastlane file format generally has a newline at the end.
This commit is contained in:
parent
1ef4f74aff
commit
a7dd7a812f
|
@ -717,7 +717,7 @@ def _set_author_entry(app, key, f):
|
|||
with open(f, errors='replace') as fp:
|
||||
text = fp.read()[:limit]
|
||||
if len(text) > 0:
|
||||
app[key] = text
|
||||
app[key] = text.strip()
|
||||
|
||||
|
||||
def _strip_and_copy_image(in_file, outpath):
|
||||
|
|
Loading…
Reference in New Issue