Skip to content

Commit

Permalink
Correct file hashing mechanism in Python bindings.
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerrp committed Apr 16, 2012
1 parent 66516f3 commit 524fc85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/bindings/python/MythTV/mythproto.py
Expand Up @@ -657,7 +657,7 @@ def deleteFile(self, file, sgroup):

def getHash(self, file, sgroup, host=None):
"""FileOps.getHash(file, storagegroup, host) -> hash string"""
m = [file, sgroup]
m = ['QUERY_FILE_HASH', file, sgroup]
if host:
m.append(host)
return self.backendCommand(BACKEND_SEP.join(m))
Expand Down

0 comments on commit 524fc85

Please sign in to comment.