Quellcode durchsuchen

Fixed bug in artical page styling

Stan Janssen vor 3 Jahren
Ursprung
Commit
3efd168c0d
1 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 6 6
      kindlerss.py

+ 6 - 6
kindlerss.py

@@ -45,11 +45,11 @@ for item in channel.iterfind("item"):
         print("<head>", file=file)
         print("<meta charset=\"UTF-8\">", file=file)
         print("<title>RSS Feed</title>", file=file)
-        print("<style>", file=FILE)
-        print("* { font-family: sans-serif; line-height: 1.6em;}", file=FILE)
-        print("a:link { color: black }", file=FILE)
-        print("a:visited { color: #888 }", file=FILE)
-        print("</style>", file=FILE)
+        print("<style>", file=file)
+        print("* { font-family: sans-serif; line-height: 1.6em;}", file=file)
+        print("a:link { color: black }", file=file)
+        print("a:visited { color: #888 }", file=file)
+        print("</style>", file=file)
         print("</head>", file=file)
         print("<bady>", file=file)
         print(contents, file=file)
@@ -59,4 +59,4 @@ for item in channel.iterfind("item"):
 print("</ul>", file=FILE)
 print("</body>", file=FILE)
 print("</html>", file=FILE)
-FILE.close()
+FILE.close()