git.cweiske.de
/
enigma2-curlytx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa3d5cd
)
do not show headers when there are no headers
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 2 Dec 2011 16:20:28 +0000
(17:20 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 2 Dec 2011 16:20:28 +0000
(17:20 +0100)
src/CurlyTx.py
patch
|
blob
|
history
diff --git
a/src/CurlyTx.py
b/src/CurlyTx.py
index 50b55b049a3cb8135cfb8f82325ccf58550bd995..16d1e31ae5e8cb9a9402728bd07ef980be6c4d51 100644
(file)
--- a/
src/CurlyTx.py
+++ b/
src/CurlyTx.py
@@
-202,7
+202,7
@@
class CurlyTx(Screen,HelpableScreen):
self["text"].setText(self.pageContent)
self.pageContent = None
self.showingHeaders = False
- el
se
:
+ el
if self.httpGetterFactory.response_headers
:
headers = _("HTTP response headers for") + "\n" + self.currentUrl + "\n\n"
for (k, v) in self.httpGetterFactory.response_headers.items():
headers += k + ": " + ("\n" + k + ": ").join(v) + "\n"