diff --git a/Scripts/Miscellaneous/EPUB_MOBI_to_PDF_converter/ebookConverter.py b/Scripts/Miscellaneous/EPUB_MOBI_to_PDF_converter/ebookConverter.py index 6abc3e55f..3bb83b8ef 100644 --- a/Scripts/Miscellaneous/EPUB_MOBI_to_PDF_converter/ebookConverter.py +++ b/Scripts/Miscellaneous/EPUB_MOBI_to_PDF_converter/ebookConverter.py @@ -26,7 +26,7 @@ def chooseFile(): clearFrame() label4 = Label(main_frame, text='Chosen file: '+CHOSEN_FILE_LOC.split('/')[-1]) - button_next = Button(main_frame, text="CONVERT>> (takes 2-3 minutes)", padx=5, pady=5, bg='#F48024', fg='#FFFFFF', command=lambda:convertToPDF()) + button_next = Button(main_frame, text="CONVERT>> (takes 2-3 minutes)", padx=5, pady=5, bg='#F48024', fg='#FFFFFF', command=convertToPDF) label4.grid(row=2, column=0, padx=10, pady=10) button_next.grid(row=4, column=0, padx=10, pady=10) @@ -68,9 +68,9 @@ def window1(): #define the labels, input box and buttons label = Label(main_frame, text='Step 1: Sign up at ConvertApi to get your secret key') - button_capi = Button(main_frame, text="OPEN WEBSITE", padx=5, pady=5, bg='#0095FF', fg='#FFFFFF', command=lambda:openWebsite()) + button_capi = Button(main_frame, text="OPEN WEBSITE", padx=5, pady=5, bg='#0095FF', fg='#FFFFFF', command=openWebsite) label2 = Label(main_frame, text='Step 2: Enter the secret key below:') - button_next = Button(main_frame, text="NEXT>", padx=5, pady=5, bg='#F48024', fg='#FFFFFF', command=lambda:window2()) + button_next = Button(main_frame, text="NEXT>", padx=5, pady=5, bg='#F48024', fg='#FFFFFF', command=window2) #arrange in grid label.grid(row=0, column=0, padx=10, pady=10) @@ -86,7 +86,7 @@ def window2(): clearFrame() label3 = Label(main_frame, text='Step 3: Choose the file to be converted(epub or mobi):') - button_file_choose = Button(main_frame, text="CHOOSE FILE", padx=5, pady=5, bg='#0095FF', fg='#FFFFFF', command=lambda:chooseFile()) + button_file_choose = Button(main_frame, text="CHOOSE FILE", padx=5, pady=5, bg='#0095FF', fg='#FFFFFF', command=chooseFile) label3.grid(row=0, column=0, padx=10, pady=10) button_file_choose.grid(row=1, column=0, padx=10, pady=10)