~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to src/calibre/debug.py

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
230
230
        open_local_file(opts.show_gui_debug)
231
231
    elif opts.viewer:
232
232
        from calibre.gui2.viewer.main import main
233
 
        vargs = ['ebook-viewer', '--debug-javascript']
234
 
        if len(args) > 1:
235
 
            vargs.append(args[-1])
236
 
        main(vargs)
 
233
        main(['ebook-viewer'] + args[1:])
237
234
    elif opts.py_console:
238
235
        from calibre.utils.pyconsole.main import main
239
236
        main()