mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
xml output
This commit is contained in:
parent
a10a6d1e4d
commit
ea8aefcaf7
@ -107,7 +107,7 @@ with open(sites_path) as f:
|
|||||||
|
|
||||||
sites_data = sites_file_path
|
sites_data = sites_file_path
|
||||||
for site_file in site_files:
|
for site_file in site_files:
|
||||||
dst = sites_data + os.sep + site_key[0] + os.sep + site_key + os.sep + '7z'
|
dst = sites_data + os.sep + site_key[0] + os.sep + site_key + os.sep + 'xml'
|
||||||
os.makedirs(dst, exist_ok=True)
|
os.makedirs(dst, exist_ok=True)
|
||||||
os.chdir(dst)
|
os.chdir(dst)
|
||||||
os.system('tar xzf '+site_file)
|
os.system('tar xzf '+site_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user