diff options
Diffstat (limited to 'note_tools/__init__.py')
-rw-r--r-- | note_tools/__init__.py | 5 |
1 files changed, 2 insertions, 3 deletions
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 @@ | |||
1 | from datetime import datetime | 1 | from datetime import datetime |
2 | import os | 2 | import os |
3 | from typing import List, Optional, Tuple | 3 | from typing import Optional, Tuple |
4 | |||
5 | 4 | ||
6 | class NoteBaseCommand(object): | 5 | class NoteBaseCommand(object): |
7 | date = None | 6 | date = None |
@@ -16,7 +15,7 @@ class NoteBaseCommand(object): | |||
16 | return datetime.now() | 15 | return datetime.now() |
17 | 16 | ||
18 | def get_date_parts(self) -> Tuple[str]: | 17 | def get_date_parts(self) -> Tuple[str]: |
19 | return (self.date.strftime('%Y'), self.date.strftime('%m'), self.date.strftime('%d')) | 18 | return (self.date.strftime('%Y'), self.date.strftime('%m')) |
20 | 19 | ||
21 | def write_file_heading(self, file_path): | 20 | def write_file_heading(self, file_path): |
22 | date_yyyymmdd = self.date.strftime('%Y-%m-%d') | 21 | date_yyyymmdd = self.date.strftime('%Y-%m-%d') |