diff --git a/src/common/jingle.py b/src/common/jingle.py index 26f6cc31fe26f9fe243a383da1550c48b756c523..45bf7154b971010c87b132df6ea2db248e54448e 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 003756242d8e75b6f89ca90d8e4206f3408a530e..c6ee521a8f5d0a10b3e94cf896ecd38442008e5f 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