mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove print statements
This commit is contained in:
parent
d4fdd34d74
commit
c4a57defff
@ -156,13 +156,10 @@ class Plugin: # {{{
|
||||
self.config_widget = config_widget
|
||||
|
||||
def accept(self):
|
||||
print('in accept')
|
||||
if ((validate := getattr(self.config_widget, 'validate', None)) and
|
||||
getattr(self.config_widget, 'validate_before_accept', False)):
|
||||
print('have validate and validate_before_accept')
|
||||
if not validate():
|
||||
return
|
||||
print('accepting')
|
||||
super().accept()
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user