mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
502cdadcd0
commit
1de95a2897
@ -16,7 +16,7 @@ class HelloWorld(FileTypePlugin):
|
|||||||
supported_platforms = ['windows', 'osx', 'linux'] # Platforms this plugin will run on
|
supported_platforms = ['windows', 'osx', 'linux'] # Platforms this plugin will run on
|
||||||
author = 'Acme Inc.' # The author of this plugin
|
author = 'Acme Inc.' # The author of this plugin
|
||||||
version = (1, 0, 0) # The version number of this plugin
|
version = (1, 0, 0) # The version number of this plugin
|
||||||
file_types = set(['epub', 'mobi']) # The file types that this plugin will be applied to
|
file_types = {'epub', 'mobi'} # The file types that this plugin will be applied to
|
||||||
on_postprocess = True # Run this plugin after conversion is complete
|
on_postprocess = True # Run this plugin after conversion is complete
|
||||||
minimum_calibre_version = (0, 7, 53)
|
minimum_calibre_version = (0, 7, 53)
|
||||||
|
|
||||||
@ -28,5 +28,3 @@ class HelloWorld(FileTypePlugin):
|
|||||||
mi.publisher = 'Hello World'
|
mi.publisher = 'Hello World'
|
||||||
set_metadata(file, mi, ext)
|
set_metadata(file, mi, ext)
|
||||||
return path_to_ebook
|
return path_to_ebook
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user