mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-04 01:08:45 +05:00
chore: more info when scan wifi
This commit is contained in:
1 parent
baf8adfb02
commit
249d32ce35
10 files changed
+71
-27
No files matched your search
@@ -25,6 +25,9 @@ def before_buildfs(source, target, env):
|
||||
dst_name = name + ".gz"
|
||||
dst_path = os.path.join(dst, os.path.relpath(root, src), dst_name)
|
||||
|
||||
if os.path.exists(os.path.join(dst, os.path.relpath(root, src))) == False:
|
||||
os.mkdir(os.path.join(dst, os.path.relpath(root, src)))
|
||||
|
||||
with gzip.open(dst_path, 'wb', 9) as f_out:
|
||||
shutil.copyfileobj(f_in, f_out)
|
||||
|
||||
|
||||
Reference in new issue
Block a user