diff alveo_get_primary_text.py @ 15:3fd0f8f1f3ce draft

planemo upload for repository https://github.com/Alveo/alveo-galaxy-tools commit 63c347461a5d4fed06799e1d3b699e0d30b48191
author stevecassidy
date Thu, 16 Nov 2017 06:52:17 -0500
parents a38315ecf593
children
line wrap: on
line diff
--- a/alveo_get_primary_text.py	Wed Nov 01 01:18:15 2017 -0400
+++ b/alveo_get_primary_text.py	Thu Nov 16 06:52:17 2017 -0500
@@ -49,7 +49,7 @@
         content = item.get_primary_text()
         if content is not None:
             with open(fname, 'w') as out:
-                out.write(content)
+                out.write(content.decode('utf-8'))
 
     return downloaded