Ignore:
Timestamp:
Nov 29, 2017, 5:21:45 PM (2 years ago)
Author:
mabarracus
Message:

Fixed utf-8 bug decoding files

Location:
hwdetector/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hwdetector/trunk/fuentes/debian/changelog

    r6404 r6405  
     1hwdetector (0.1.4) xenial; urgency=medium
     2
     3  * Fixed utf-8 bug decoding files
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 29 Nov 2017 17:21:08 +0100
     6
    17hwdetector (0.1.3) xenial; urgency=medium
    28
  • hwdetector/trunk/fuentes/valentin.install/usr/bin/valentin

    r6404 r6405  
    3333        elif type(var) == type(list()):
    3434            if len(var) == 2 and var[0] == '__gz__':
    35                 content=zlib.decompress(base64.b64decode(var[1])).encode('utf-8')
     35                content=zlib.decompress(base64.b64decode(var[1])).decode('utf-8')
    3636                replaced = content.replace(u'\n',indentation+u'\n'+indentation)
    3737                st += u'{}{}'.format(indentation,replaced)
Note: See TracChangeset for help on using the changeset viewer.