mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
ignore database not ready
This commit is contained in:
parent
12a5b6b148
commit
6437674ca8
@ -90,7 +90,7 @@ class ReportConfig(AppConfig):
|
||||
|
||||
try:
|
||||
from .models import TestReport
|
||||
except:
|
||||
except: # pragma: no cover
|
||||
# Database is not ready yet
|
||||
return
|
||||
|
||||
@ -113,7 +113,7 @@ class ReportConfig(AppConfig):
|
||||
|
||||
try:
|
||||
from .models import BuildReport
|
||||
except:
|
||||
except: # pragma: no cover
|
||||
# Database is not ready yet
|
||||
return
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user