File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) Quectel Wireless Solution, Co., Ltd.All Rights Reserved.
2- #
2+ #
33# Licensed under the Apache License, Version 2.0 (the "License");
44# you may not use this file except in compliance with the License.
55# You may obtain a copy of the License at
6- #
6+ #
77# http://www.apache.org/licenses/LICENSE-2.0
8- #
8+ #
99# Unless required by applicable law or agreed to in writing, software
1010# distributed under the License is distributed on an "AS IS" BASIS,
1111# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -29,7 +29,7 @@ def _repl_enable():
2929 try :
3030 json_data = ujson .load (fd )
3131 datacall_flag = json_data .get ("datacallFlag" , 1 )
32-
32+
3333 except ValueError :
3434 with open ("/usr/system_config.json" , "w" , encoding = "utf-8" ) as fdw :
3535 new_json_data = ujson .dumps ({"replFlag" : 0 , "datacallFlag" : datacall_flag })
@@ -39,7 +39,7 @@ def _repl_enable():
3939 repl_data = ujson .dumps ({"replFlag" : 0 })
4040 fd .write (repl_data )
4141
42- try :
42+ try :
4343 udev = None
4444 try :
4545 from uos import VfsLfs1 as VfsLfs
You can’t perform that action at this time.
0 commit comments