diff --git a/src/common/jingle.py b/src/common/jingle.py index 26f6cc31f..45bf7154b 100644 --- a/src/common/jingle.py +++ b/src/common/jingle.py @@ -197,8 +197,8 @@ class ConnectionJingle(object): def get_files_info(self, hash_=None, name=None): if hash_: for f in self.files: # DEBUG - if f['hash'] == '1294809248109223': - #if f['hash'] == hash_: + #if f['hash'] == '1294809248109223': + if f['hash'] == hash_: return f elif name: for f in self.files: diff --git a/src/common/jingle_ft.py b/src/common/jingle_ft.py index 003756242..c6ee521a8 100644 --- a/src/common/jingle_ft.py +++ b/src/common/jingle_ft.py @@ -155,7 +155,7 @@ class JingleFileTransfer(JingleContent): h = xmpp.Hashes() hash_ = h.calculateHash(self.file_props.algo, file_) # DEBUG - hash_ = '1294809248109223' + #hash_ = '1294809248109223' if not hash_: # Hash alogrithm not supported return