From 6dbb09f11f356f7d44f233fa59e18c66f35335c8 Mon Sep 17 00:00:00 2001 From: Travis Thompson Date: Thu, 25 Apr 2024 11:28:53 +0200 Subject: [PATCH] try different way to import --- docs/build-docs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build-docs b/docs/build-docs index f62020a..772e12a 100755 --- a/docs/build-docs +++ b/docs/build-docs @@ -1,6 +1,6 @@ #!/usr/bin/env python import argparse -import datetime +from datetime import date import shutil import subprocess import sys @@ -67,7 +67,7 @@ def build_module_docs() -> None: "-D", f"project=pytket-{MODULE}", "-D", - f"copyright={datetime.date.today().year} Cambridge Quantum Computing", + f"copyright={date.today().year} Cambridge Quantum Computing", "-D", f"version={'.'.join(v[:2])}", "-D",