# HG changeset patch # User Goffi # Date 1397987508 -7200 # Node ID 4dbe8e57ff51728015876faf52caeffc4c0ab8f7 # Parent 652c01ca69b1b22187f16ae1dd918bb333f2e38c plugin XEP-0096: fixed a bug introduced by the log refactoring diff -r 652c01ca69b1 -r 4dbe8e57ff51 src/plugins/plugin_xep_0096.py --- a/src/plugins/plugin_xep_0096.py Sat Apr 19 20:11:23 2014 +0200 +++ b/src/plugins/plugin_xep_0096.py Sun Apr 20 11:51:48 2014 +0200 @@ -276,10 +276,10 @@ file_transfer_elts = [] - statlog.info = os.stat(filepath) + statinfo = os.stat(filepath) file_elt = domish.Element((PROFILE, 'file')) file_elt['name'] = os.path.basename(filepath) - size = file_elt['size'] = str(statlog.info.st_size) + size = file_elt['size'] = str(statinfo.st_size) file_transfer_elts.append(file_elt) file_transfer_elts.append(domish.Element((None, 'range')))