aboutsummaryrefslogtreecommitdiff
path: root/plip/exchange/report.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2020-07-07 20:48:27 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2020-07-07 20:48:27 +0530
commitb334659db44942ca1457af4752751b1281da4948 (patch)
treec2914bb093f1cc78e55fcb43caa2595ccae6b93f /plip/exchange/report.py
parent85a0b26230b239f7f5c8655c958dcdee01ca5a7b (diff)
using PLIP v2.1.3
Diffstat (limited to 'plip/exchange/report.py')
-rw-r--r--plip/exchange/report.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/plip/exchange/report.py b/plip/exchange/report.py
index a559bf8..20f281e 100644
--- a/plip/exchange/report.py
+++ b/plip/exchange/report.py
@@ -97,9 +97,7 @@ class StructureReport:
xml_declaration=True)
else:
output = et.tostring(self.xmlreport, pretty_print=True)
- if config.RAWSTRING:
- output = repr(output)
- print(output)
+ print(output.decode('utf8'))
def write_txt(self, as_string=False):
"""Write the TXT report"""
@@ -108,8 +106,6 @@ class StructureReport:
[f.write(textline + '\n') for textline in self.txtreport]
else:
output = '\n'.join(self.txtreport)
- if config.RAWSTRING:
- output = repr(output)
print(output)