Update safety

Signed-off-by: Dan Ryan <dan@danryan.co>
This commit is contained in:
Dan Ryan
2018-08-25 13:24:19 -04:00
parent a51e479a45
commit 124a463d96
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
__author__ = """pyup.io"""
__email__ = 'support@pyup.io'
__version__ = '1.8.1'
__version__ = '1.8.4'
+4 -1
View File
@@ -113,7 +113,10 @@ class SheetReport(object):
for chunk in [descr[i:i + 76] for i in range(0, len(descr), 76)]:
for line in chunk.splitlines():
table.append("{:76}".format(line))
try:
table.append("{:76}".format(line.encode('utf-8')))
except TypeError:
table.append("{:76}".format(line))
# append the REPORT_SECTION only if this isn't the last entry
if n + 1 < len(vulns):
table.append(SheetReport.REPORT_SECTION)