diff --git a/fasi.py b/fasi.py index a394c1d..5fe3b77 100644 --- a/fasi.py +++ b/fasi.py @@ -171,7 +171,8 @@ class HttpInstance: xmpp_uri = XmppUtilities.get_xmpp_uri(jid_bare, jid_kind) # Graphic files - filename, filepath, filetype, selection = FileUtilities.handle_photo(jid_bare, jid_vcard, link_href) + filename, filepath, filetype, selection = FileUtilities.handle_photo( + jid_bare, jid_vcard, link_href) #except Exception as e: else: @@ -205,6 +206,7 @@ class HttpInstance: 'page_number' : page_number, 'previous' : previous, 'request' : request, + 'selection' : selection, 'subject' : subject, 'title' : title, 'url' : request.url._url, @@ -276,7 +278,8 @@ class HttpInstance: links = XmppUtilities.get_query_uri_links(jid_bare, jid_kind, node_name) # Graphic files - filename, filepath, filetype, selection = FileUtilities.handle_photo(jid_bare, jid_vcard, link_href) + filename, filepath, filetype, selection = FileUtilities.handle_photo( + jid_bare, jid_vcard, link_href) #except Exception as e: else: @@ -323,6 +326,7 @@ class HttpInstance: 'page_number' : page_number, 'previous' : previous, 'request' : request, + 'selection' : selection, 'title' : title, 'url' : request.url._url, 'vcard_info' : vcard_info, @@ -455,7 +459,8 @@ class HttpInstance: node_note = xmpp_uri # Graphic files - filename, filepath, filetype, selection = FileUtilities.handle_photo(jid_bare, jid_vcard, link_href) + filename, filepath, filetype, selection = FileUtilities.handle_photo( + jid_bare, jid_vcard, link_href) #except Exception as e: else: @@ -490,6 +495,7 @@ class HttpInstance: 'page_number' : page_number, 'previous' : previous, 'request' : request, + 'selection' : selection, 'title' : node_title, 'url' : request.url._url, 'xmpp_uri' : xmpp_uri}