diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | modes.py | 2 | ||||
| -rw-r--r-- | photos/.keep | 0 |
3 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b5ca56 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +photos/
\ No newline at end of file @@ -20,7 +20,7 @@ class ModesPrinter(object): self.date = datetime.strptime(d, '%m%Y').date() self.dominants = [ImageColor.getrgb(x) for x in ('#' + dominants[:6], '#' + dominants[6:])] self.matrix = bin(int(matrix, 16))[2+MATRIX_PADDING:] - self.filename = '{}_{}.jpg'.format(self.username, self.date.strftime('%Y_%m')) + self.filename = 'photos/{}_{}.jpg'.format(self.username, self.date.strftime('%Y_%m')) def _debug(self): print(self.username, self.date.month, self.date.year, self.dominants, self.matrix) diff --git a/photos/.keep b/photos/.keep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/photos/.keep |
