From 8614521af8d593ee0a8df4b12fb65a5cb85f84b3 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 16 May 2021 21:07:53 -0500 Subject: [PATCH] removed unused function --- cbrtocbz.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cbrtocbz.py b/cbrtocbz.py index d51ceda..f9ee459 100644 --- a/cbrtocbz.py +++ b/cbrtocbz.py @@ -14,16 +14,6 @@ def vprint(text, level=0): print(text) vprint.verbosity = 0 -def add_files(zip: zipfile.ZipFile, directory): - for dirpath, dirs, files in walk(directory): - for f in files: - path = join(dirpath, f) - vprint('writing ' + path, 2) - zip.write(path) - for d in dirs: - path = join(dirpath, d) - add_files(zip, path) - def main(arguments): parser = argparse.ArgumentParser() parser.add_argument('-e', '--ext', type=str)