sync enhancements & update

This commit is contained in:
tmshv committed 2016-01-16 23:10:33 +03:00
1 parent 5b6b09b66b
commit 3b612ab4e7
5 files changed
+150 -144

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
__author__ = 'Roman Timashev'
class Product:
def __init__(self, author_name, author_age, image, product_title):
super().__init__()
self.author_name = author_name
self.author_age = author_age
self.image = image
self.product_title = product_title
self.image_original_path = None
def to_tuple(self):
return self.author_name, self.author_age, self.image, self.product_title, self.image_original_path