瀏覽代碼

fix settings not being applied

Nick Sweeting 6 年之前
父節點
當前提交
c474bb7992
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      archivebox/archive_methods.py

+ 1 - 1
archivebox/archive_methods.py

@@ -93,7 +93,7 @@ def archive_link(link_dir, link, overwrite=True):
         (FETCH_MEDIA, fetch_media),
         (SUBMIT_ARCHIVE_DOT_ORG, archive_dot_org),
     )
-    active_methods = [method for toggle, method in ARCHIVE_METHODS]
+    active_methods = [method for toggle, method in ARCHIVE_METHODS if toggle]
     
     try:
         link = load_link_index(link_dir, link)