Fix importing Bio without an internet connection
@@ -87,7 +87,7 @@ func Py_DecodeLocale(_: UnsafePointer<Int8>!, _: UnsafeMutablePointer<Int>!) ->
let request = NSBundleResourceRequest(tags: Set([key.replacingOccurrences(of: "Bio", with: "bio")]))
request.conditionallyBeginAccessingResources { (success) in
- if success, let path = request.bundle.url(forResource: key, withExtension: nil)?.deletingLastPathComponent().path {
+ if success, let path = request.bundle.url(forResource: key.replacingOccurrences(of: "bio", with: "Bio"), withExtension: nil)?.deletingLastPathComponent().path {
paths.append(path)
if !self.downloadedModules.contains(path) {
self.downloadedModules.append(path)
