diff --git a/results.xml b/results.xml
index 5244be7..24fb4aa 100644
--- a/results.xml
+++ b/results.xml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/yoink/comic.py b/yoink/comic.py
index e7a5567..c896f21 100644
--- a/yoink/comic.py
+++ b/yoink/comic.py
@@ -94,10 +94,12 @@ class ComicArchiver:
print()
def generate_archive(self, archive_format='.cbr'):
+
+ archive_from = os.path.basename(self.worktree)
if os.path.exists(os.path.join(self.worktree, f'{self.comic.title}{archive_format}')):
return
- output = shutil.make_archive(os.path.join(self.worktree, self.comic.title), 'zip', self.worktree)
+ output = shutil.make_archive(os.path.join(self.worktree, self.comic.title), 'zip', self.worktree, self.worktree)
os.rename(output, os.path.join(self.worktree, f'{self.comic.title}{archive_format}'))