From 65ac97b6185f6e16b32c1d7464c56f89bec27503 Mon Sep 17 00:00:00 2001 From: "Schimon Jehudah, Adv." Date: Tue, 5 Nov 2024 11:44:37 +0200 Subject: [PATCH] Python : Send background colours to more pages. --- fasi.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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}