diff --git a/migrate/record.py b/migrate/record.py index c310b1c..a03996a 100644 --- a/migrate/record.py +++ b/migrate/record.py @@ -56,12 +56,11 @@ def __init__(self, item): self.title: str = item.get("name", "Untitled") # default to current date in ISO 8601 format self.createdDate: str = item.get("createdDate", date.today().isoformat()) + self.vault_url: str = "" if item.get("uuid") and item.get("version"): self.vault_url = ( f"https://vault.cca.edu/items/{item['uuid']}/{item['version']}/" ) - else: - self.vault_url = None @property def abstracts(self) -> list: