mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-30 14:35:20 -04:00
refactor: Organize code to remove flake8 issues
This commit is contained in:
parent
f4c0616332
commit
6006b4f93b
24 changed files with 43 additions and 39 deletions
archivebox/core
|
@ -4,7 +4,6 @@ from django.shortcuts import render, redirect
|
|||
|
||||
from django.http import HttpResponse
|
||||
from django.views import View, static
|
||||
from django.conf import settings
|
||||
|
||||
from core.models import Snapshot
|
||||
|
||||
|
@ -75,7 +74,7 @@ class AddLinks(View):
|
|||
}
|
||||
add_stdout = StringIO()
|
||||
with redirect_stdout(add_stdout):
|
||||
extracted_links = add(**input_kwargs)
|
||||
add(**input_kwargs)
|
||||
print(add_stdout.getvalue())
|
||||
|
||||
context = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue