1
0
Fork 0
mirror of synced 2024-06-26 10:00:19 +12:00

fix lint errors2

This commit is contained in:
Nick Sweeting 2021-02-16 16:29:41 -05:00
parent 6f0eec92eb
commit 265bcc0264
2 changed files with 1 additions and 2 deletions

View file

@ -71,7 +71,7 @@ AUTHENTICATION_BACKENDS = [
DEBUG_TOOLBAR = False
if DEBUG:
try:
import debug_toolbar
import debug_toolbar # noqa
DEBUG_TOOLBAR = True
except ImportError:
pass

View file

@ -178,7 +178,6 @@ class Link:
raise
def _asdict(self, extended=False):
from core.models import Snapshot
info = {
'schema': 'Link',
'url': self.url,