mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 11:42:43 +08:00
Fix: should write file if provider initialize from HTTP (#1365)
This commit is contained in:
parent
df5112175f
commit
4186bcf1b2
|
@ -72,6 +72,8 @@ func (f *fetcher) Initial() (interface{}, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isLocal = false
|
||||||
}
|
}
|
||||||
|
|
||||||
if f.vehicle.Type() != File && !isLocal {
|
if f.vehicle.Type() != File && !isLocal {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user