From 9cde3624920cb1ddd563b8addfcc65ccc79e080a Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Wed, 19 Feb 2025 20:35:50 -0500 Subject: Finish refactor --- note_tools/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'note_tools/__init__.py') diff --git a/note_tools/__init__.py b/note_tools/__init__.py index 69e6e67..8d6774d 100644 --- a/note_tools/__init__.py +++ b/note_tools/__init__.py @@ -1,7 +1,6 @@ from datetime import datetime import os -from typing import List, Optional, Tuple - +from typing import Optional, Tuple class NoteBaseCommand(object): date = None @@ -16,7 +15,7 @@ class NoteBaseCommand(object): return datetime.now() def get_date_parts(self) -> Tuple[str]: - return (self.date.strftime('%Y'), self.date.strftime('%m'), self.date.strftime('%d')) + return (self.date.strftime('%Y'), self.date.strftime('%m')) def write_file_heading(self, file_path): date_yyyymmdd = self.date.strftime('%Y-%m-%d') -- cgit v1.1