Use django.utils.encode smart_text or smart_str for intelligent unicode handling
[htsworkflow.git] / htsworkflow / util / hashfile.py
index fcfb7a386edbb1453d85275167be641ab358b236..97628832d9408f007ab9e145b285d40e2b0dda6d 100644 (file)
@@ -4,6 +4,8 @@ import logging
 import os
 from subprocess import Popen, PIPE
 
+from django.utils.encoding import smart_text
+
 logger = logging.getLogger(__name__)
 
 def make_md5sum(filename):