View Single Post
Old 04-15-2020, 11:27 AM   #133
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AlaVander View Post
But I can't find an option to turn it off, how can I solve this problem?
You can fix this by editing plugin.py. Please change the following:
Spoiler:
Code:
                # assemble command line parameters
                if prefs['add_asin'] == True:
                    if isosx:
                        args = [mac_calibre_debug_path, '-r', 'KFX Output', '--', '-a', asin, '-p', '0', epub_path, kfx_path]
                    else:
                        args = ['calibre-debug', '-r', 'KFX Output', '--', '-a', asin, '-p', '0', epub_path, kfx_path]
                else:
                    if isosx:
                        args = [mac_calibre_debug_path, '-r', 'KFX Output', '--', '-p', '0', epub_path, kfx_path]
                    else:
                        args = ['calibre-debug', '-r', 'KFX Output', '--', '-p', '0', epub_path, kfx_path]


to:

Spoiler:
Code:
                # assemble command line parameters
                if prefs['add_asin'] == True:
                    if isosx:
                        args = [mac_calibre_debug_path, '-r', 'KFX Output', '--', '-a', asin, epub_path, kfx_path]
                    else:
                        args = ['calibre-debug', '-r', 'KFX Output', '--', '-a', asin, epub_path, kfx_path]
                else:
                    if isosx:
                        args = [mac_calibre_debug_path, '-r', 'KFX Output', '--', epub_path, kfx_path]
                    else:
                        args = ['calibre-debug', '-r', 'KFX Output', '--', epub_path, kfx_path]
Doitsu is offline   Reply With Quote