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:
|
try:
|
||||||
from .models import TestReport
|
from .models import TestReport
|
||||||
except:
|
except: # pragma: no cover
|
||||||
# Database is not ready yet
|
# Database is not ready yet
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ class ReportConfig(AppConfig):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
from .models import BuildReport
|
from .models import BuildReport
|
||||||
except:
|
except: # pragma: no cover
|
||||||
# Database is not ready yet
|
# Database is not ready yet
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user