Skip to content

Commit

Permalink
Fix bytes/string issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sambhav committed Apr 7, 2017
1 parent 028369c commit 3581372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion picard/ui/options/fingerprinting.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _acoustid_fpcalc_check(self):
def _on_acoustid_fpcalc_check_finished(self, exit_code, exit_status):
process = self.sender()
if exit_code == 0 and exit_status == 0:
output = str(process.readAllStandardOutput())
output = bytes(process.readAllStandardOutput()).decode()
if output.startswith("fpcalc version"):
self._acoustid_fpcalc_set_success(output.strip())
else:
Expand Down

0 comments on commit 3581372

Please sign in to comment.