コード例 #1
0
 def __get_book_with_format(self):
     b = self.__get_book()
     bf = BookFormat()
     bf.Format = "EPUB"
     bf.Location = "/dev/null"
     b.add_format(bf)
     return b
コード例 #2
0
ファイル: epubcreator.py プロジェクト: jeroanan/Aquarius
 def __add_epub_format(filepath, b):
     bf = BookFormat()
     bf.Format = "EPUB"
     bf.Location = filepath
     b.formats = [bf]
コード例 #3
0
 def __get_format(self):
     bf = BookFormat()
     bf.Format = "epub"
     bf.Location = "/dev/null"
     return bf
コード例 #4
0
ファイル: pdfcreator.py プロジェクト: jeroanan/Aquarius
 def __add_format(b, filepath):
     bf = BookFormat()
     bf.Format = "PDF"
     bf.Location = filepath
     b.formats = [bf]