From 7cd3425252f38fea3543411e48d3e4c6a61e3357 Mon Sep 17 00:00:00 2001
From: Michael Olund
Date: Mon, 26 Oct 2020 12:13:02 -0700
Subject: [PATCH] Fixed link checker bugs
---
edivorce/apps/core/management/commands/link_check.py | 2 +-
edivorce/apps/core/templates/legal.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/edivorce/apps/core/management/commands/link_check.py b/edivorce/apps/core/management/commands/link_check.py
index 6d8dcebe..86e718ee 100644
--- a/edivorce/apps/core/management/commands/link_check.py
+++ b/edivorce/apps/core/management/commands/link_check.py
@@ -35,7 +35,7 @@ class Command(BaseCommand):
if link is None:
continue
if link['href'].startswith('http'):
- filename = str(file_path.name)
+ filename = str(fs.name)
status = self._check_link(link['href'])
if status:
diff --git a/edivorce/apps/core/templates/legal.html b/edivorce/apps/core/templates/legal.html
index 7baa5702..4abe97dd 100644
--- a/edivorce/apps/core/templates/legal.html
+++ b/edivorce/apps/core/templates/legal.html
@@ -67,7 +67,7 @@
If you think you will want legal help for only part of your separation or divorce, you can look for a lawyer that
- offers “unbundled” services. The
+ offers “unbundled” services. The
BC Family Law Unbundling Roster (HelpMap)
is a list of legal professionals near you who offer unbundled services. Many also offer their services remotely,
through telephone, webconferencing or other tools.