Python : Send background colours to more pages.
This commit is contained in:
parent
36f7da35d9
commit
65ac97b618
1 changed files with 9 additions and 3 deletions
12
fasi.py
12
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}
|
||||
|
|
Loading…
Reference in a new issue