diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index 1cb465f..1f581df 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -111,15 +111,15 @@ class WebServerHandler(BaseHTTPRequestHandler):
self.send_header('Content-type', 'text/html')
self.end_headers()
self.wfile.write(bytes('\n'
- '\n'
- '
\n'
- '
-
-
\n', 'UTF-8'))
+ '\n'
+ '
\n'
+ '
\n'
+ '
Kindle Comic Converter\n'
+ '\n'
+ '\n'
+ '
\n'
+ '
-
-
\n', 'UTF-8'))
if len(GUI.completedWork) > 0 and not GUI.conversionAlive:
for key in sorted(GUI.completedWork.keys()):
self.wfile.write(bytes('
' + key.split('.')[0] + '
\n', 'UTF-8'))
@@ -127,8 +127,8 @@ class WebServerHandler(BaseHTTPRequestHandler):
self.wfile.write(bytes('
No downloads are available.
'
'Convert some files and refresh this page.
\n', 'UTF-8'))
self.wfile.write(bytes('
\n'
- '\n'
- '\n', 'UTF-8'))
+ '\n'
+ '\n', 'UTF-8'))
elif sendReply:
outputFile = GUI.completedWork[unquote(self.path[1:])]
fp = open(outputFile, 'rb')
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py
index 16de45d..f7741bc 100755
--- a/kcc/comic2ebook.py
+++ b/kcc/comic2ebook.py
@@ -420,7 +420,7 @@ def buildEPUB(path, chapterNames, tomeNumber):
chapter = False
for afile in filenames:
filename = getImageFileName(afile)
- if not '-kcc-hq' in filename[0]:
+ if '-kcc-hq' not in filename[0]:
filelist.append(buildHTML(dirpath, afile, os.path.join(dirpath, afile)))
if not chapter:
chapterlist.append((dirpath.replace('Images', 'Text'), filelist[-1][1]))