resolve tar.extractall
deprecation warning
This commit is contained in:
parent
3f56ad069f
commit
b64ac3bc1b
@ -69,7 +69,7 @@ def compress_tar(folder_path, output_file):
|
||||
def extract_tar(tar_file_path, extract_to):
|
||||
#this defines a function to decompress a tar.gz file
|
||||
with tarfile.open(tar_file_path, 'r') as tar:
|
||||
tar.extractall(extract_to)
|
||||
tar.extractall(extract_to, filter="data")
|
||||
|
||||
def print_ascii_art():
|
||||
#someone's gonna think im a furry or a femboy or some shit because of this.
|
||||
@ -177,7 +177,7 @@ wget.download('https://git.sarushinobie.dev/saru/family-minecraft-modpack/releas
|
||||
extract_tar('mods.tar.gz', 'mods')
|
||||
# ('tarfile', 'directory to extract to')
|
||||
|
||||
ascii_art()
|
||||
print_ascii_art()
|
||||
# print boykisser to console
|
||||
|
||||
print("sigma!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user