diff --git a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt index 1bda5c1f7..b5615344e 100644 --- a/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/local/ImportBookActivity.kt @@ -299,7 +299,7 @@ class ImportBookActivity : VMBaseActivity(R.layout.activity if (uri.toString().isContentPath()) { subDocs.add(DocumentFile.fromSingleUri(this, uri)!!) } else { - path = uri.toString() + path = uri.path.toString() } upPath() }