mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
IGN:Tag release
This commit is contained in:
parent
50cf91b836
commit
04f67b272b
@ -356,7 +356,7 @@ class UploadUserManual(Command): # {{{
|
|||||||
zf.write(os.path.join(x, y))
|
zf.write(os.path.join(x, y))
|
||||||
bname = self.b(path) + '_plugin.zip'
|
bname = self.b(path) + '_plugin.zip'
|
||||||
dest = '%s/%s'%(DOWNLOADS, bname)
|
dest = '%s/%s'%(DOWNLOADS, bname)
|
||||||
subprocess.check_call(['scp', f.name, dest])
|
subprocess.check_call(['scp', f.name, 'divok:'+dest])
|
||||||
|
|
||||||
def run(self, opts):
|
def run(self, opts):
|
||||||
path = self.j(self.SRC, 'calibre', 'manual', 'plugin_examples')
|
path = self.j(self.SRC, 'calibre', 'manual', 'plugin_examples')
|
||||||
|
@ -721,7 +721,7 @@ Reflow::render(int first_page, int last_page) {
|
|||||||
globalParams->setTextEncoding(encoding);
|
globalParams->setTextEncoding(encoding);
|
||||||
|
|
||||||
int doc_pages = doc->getNumPages();
|
int doc_pages = doc->getNumPages();
|
||||||
if (last_page < 1 or last_page > doc_pages) last_page = doc_pages;
|
if (last_page < 1 || last_page > doc_pages) last_page = doc_pages;
|
||||||
if (first_page < 1) first_page = 1;
|
if (first_page < 1) first_page = 1;
|
||||||
if (first_page > last_page) first_page = last_page;
|
if (first_page > last_page) first_page = last_page;
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user