@@ -106,7 +106,9 @@ func (e *ExtractTask) InitTestTaskInfo(resultcoll, trackcoll string) {
IsEtxLog: true,
ProcessPool: make(chan bool, 1),
}
- e.IsExtractCity = (*v)["isextractcity"].(bool)
+ if (*v)["isextractcity"] != nil {
+ e.IsExtractCity = (*v)["isextractcity"].(bool)
+ }
} else {
return