aboutsummaryrefslogtreecommitdiff
path: root/epub/epub.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-11-23 22:45:33 +0100
committercedricbonhomme <devnull@localhost>2010-11-23 22:45:33 +0100
commit6044dd1b2362358f06acab8c220d87f64b37b92c (patch)
tree49791498f4e4365b12dc6cd3ae2efee07463d827 /epub/epub.py
parentAdded import to EPUB function. (diff)
downloadnewspipe-6044dd1b2362358f06acab8c220d87f64b37b92c.tar.gz
newspipe-6044dd1b2362358f06acab8c220d87f64b37b92c.tar.bz2
newspipe-6044dd1b2362358f06acab8c220d87f64b37b92c.zip
Syntax improvement.
Diffstat (limited to 'epub/epub.py')
-rw-r--r--epub/epub.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/epub/epub.py b/epub/epub.py
index 834acee6..16deaf1f 100644
--- a/epub/epub.py
+++ b/epub/epub.py
@@ -12,7 +12,6 @@ from genshi.template import TemplateLoader
from lxml import etree
class TocMapNode:
-
def __init__(self):
self.playOrder = 0
self.title = ''
@@ -30,9 +29,7 @@ class TocMapNode:
for child in self.children:
child.__assignPlayOrder(nextPlayOrder)
-
class EpubItem:
-
def __init__(self):
self.id = ''
self.srcPath = ''
@@ -40,9 +37,7 @@ class EpubItem:
self.mimeType = ''
self.html = ''
-
class EpubBook:
-
def __init__(self):
self.loader = TemplateLoader('./epub/templates')
bgstack15