Skip to content

Commit

Permalink
fix unicode error on metadata retrieval
Browse files Browse the repository at this point in the history
  • Loading branch information
DerrickGold committed Sep 12, 2016
1 parent b04242c commit cd39402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def get_file_metadata(self, path):
process = subprocess.Popen(args, stdout=subprocess.PIPE)
output = process.communicate()

data = output[0].decode().splitlines()
data = output[0].decode('unicode-escape').splitlines()
data.sort()

for l in data:
Expand Down

0 comments on commit cd39402

Please sign in to comment.