diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-07-08 00:06:23 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-07-08 00:06:23 +0300 |
| commit | eb48d1153d8967aa93a454325ddf126687ca1608 (patch) | |
| tree | 49d384e3384e7058059baa2b23fcb98e29e794f7 /modes.py | |
| parent | 6a836baafb2c628ab487dc4b5f99a0a28b672013 (diff) | |
Photos dir
Diffstat (limited to 'modes.py')
| -rw-r--r-- | modes.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
