Skip to content

Commit

Permalink
Change return value matching with the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen committed Sep 21, 2017
1 parent 2eb2310 commit 482d321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector_magento/components/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _should_import(self):
attributes=['updated_at'])
if not record['updated_at']:
# in rare case it can be empty, in doubt, import it
return False
return True
sync_date = odoo.fields.Datetime.from_string(sync)
magento_date = datetime.strptime(record['updated_at'],
MAGENTO_DATETIME_FORMAT)
Expand Down

0 comments on commit 482d321

Please sign in to comment.