summaryrefslogtreecommitdiff
path: root/modes.py
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2015-07-08 00:06:23 +0300
committerYuval Adam <yuval@y3xz.com>2015-07-08 00:06:23 +0300
commiteb48d1153d8967aa93a454325ddf126687ca1608 (patch)
tree49d384e3384e7058059baa2b23fcb98e29e794f7 /modes.py
parent6a836baafb2c628ab487dc4b5f99a0a28b672013 (diff)
Photos dir
Diffstat (limited to 'modes.py')
-rw-r--r--modes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modes.py b/modes.py
index 908af0a..12dd8fb 100644
--- a/modes.py
+++ b/modes.py
@@ -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)