Skip to content

Commit

Permalink
fix back into string
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Mar 28, 2023
1 parent 003c4e1 commit f17e0fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions embark/reporter/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ def get_accumulated_reports(request):
# clean-up for linux extensive os-descriptions
if charfield.startswith("Linux"):
charfield = charfield.split("/", 2)[:2]
charfield = f"{charfield[0]}{charfield[1]}"
charfield = (charfield[:16] + '..') if len(charfield) > 18 else charfield

if charfield not in data:
Expand Down

0 comments on commit f17e0fe

Please sign in to comment.