mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix lint errors2
This commit is contained in:
parent
6f0eec92eb
commit
265bcc0264
2 changed files with 1 additions and 2 deletions
|
@ -71,7 +71,7 @@ AUTHENTICATION_BACKENDS = [
|
||||||
DEBUG_TOOLBAR = False
|
DEBUG_TOOLBAR = False
|
||||||
if DEBUG:
|
if DEBUG:
|
||||||
try:
|
try:
|
||||||
import debug_toolbar
|
import debug_toolbar # noqa
|
||||||
DEBUG_TOOLBAR = True
|
DEBUG_TOOLBAR = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
|
@ -178,7 +178,6 @@ class Link:
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def _asdict(self, extended=False):
|
def _asdict(self, extended=False):
|
||||||
from core.models import Snapshot
|
|
||||||
info = {
|
info = {
|
||||||
'schema': 'Link',
|
'schema': 'Link',
|
||||||
'url': self.url,
|
'url': self.url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue