Update
svn: r6834
This commit is contained in:
parent
93e3afac56
commit
29ac71c4b4
@ -618,7 +618,10 @@ def report(dbstate,uistate,person,report_class,options_class,
|
|||||||
from _DrawReportDialog import DrawReportDialog
|
from _DrawReportDialog import DrawReportDialog
|
||||||
dialog_class = DrawReportDialog
|
dialog_class = DrawReportDialog
|
||||||
elif category == CATEGORY_BOOK:
|
elif category == CATEGORY_BOOK:
|
||||||
|
try:
|
||||||
report_class(dbstate,uistate,person)
|
report_class(dbstate,uistate,person)
|
||||||
|
except Errors.WindowActiveError:
|
||||||
|
pass
|
||||||
return
|
return
|
||||||
elif category in (CATEGORY_VIEW,CATEGORY_CODE,CATEGORY_WEB):
|
elif category in (CATEGORY_VIEW,CATEGORY_CODE,CATEGORY_WEB):
|
||||||
report_class(dbstate.db,person)
|
report_class(dbstate.db,person)
|
||||||
|
Loading…
Reference in New Issue
Block a user