mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-23 07:23:19 +08:00
More work on bacloud client
This commit is contained in:
parent
67bc2e6250
commit
3db48d4e39
2
.idea/dictionaries/ericf.xml
generated
2
.idea/dictionaries/ericf.xml
generated
@ -397,6 +397,7 @@
|
||||
<w>dirname</w>
|
||||
<w>dirnames</w>
|
||||
<w>dirpath</w>
|
||||
<w>dirpruneempty</w>
|
||||
<w>dirtybit</w>
|
||||
<w>dirtyfiles</w>
|
||||
<w>disllowed</w>
|
||||
@ -1282,6 +1283,7 @@
|
||||
<w>projroot</w>
|
||||
<w>projs</w>
|
||||
<w>promocode</w>
|
||||
<w>prunedir</w>
|
||||
<w>prval</w>
|
||||
<w>pstats</w>
|
||||
<w>pstr</w>
|
||||
|
||||
@ -329,7 +329,9 @@ class App:
|
||||
import base64
|
||||
import zlib
|
||||
for fname, fdata in downloads_inline.items():
|
||||
os.makedirs(os.path.dirname(fname), exist_ok=True)
|
||||
dirname = os.path.dirname(fname)
|
||||
if dirname:
|
||||
os.makedirs(dirname, exist_ok=True)
|
||||
data_zipped = base64.b64decode(fdata)
|
||||
data = zlib.decompress(data_zipped)
|
||||
with open(fname, 'wb') as outfile:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user