[bugfix]
[file not exit]
This commit is contained in:
@@ -74,10 +74,10 @@ object DebugDataDispatch {
|
|||||||
|
|
||||||
fun getLocaitonByLog(path:String) {
|
fun getLocaitonByLog(path:String) {
|
||||||
ThreadUtils.getIoPool().execute {
|
ThreadUtils.getIoPool().execute {
|
||||||
val inputStream = FileInputStream(path)
|
|
||||||
val reader = BufferedReader(InputStreamReader(inputStream))
|
|
||||||
var line: String? = ""
|
|
||||||
try {
|
try {
|
||||||
|
val inputStream = FileInputStream(path)
|
||||||
|
val reader = BufferedReader(InputStreamReader(inputStream))
|
||||||
|
var line: String? = ""
|
||||||
while (reader.readLine().also { line = it } != null) {
|
while (reader.readLine().also { line = it } != null) {
|
||||||
val list = GsonUtils.fromJson<MogoLocationExit>(
|
val list = GsonUtils.fromJson<MogoLocationExit>(
|
||||||
line.toString(),
|
line.toString(),
|
||||||
|
|||||||
Reference in New Issue
Block a user