Skip to content

Commit

Permalink
requirements fix
Browse files Browse the repository at this point in the history
  • Loading branch information
susu105 committed Aug 19, 2020
1 parent badef5d commit 697983d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion som_generationkwh/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
https://github.com/mailchimp/mailchimp-marketing-python/archive/master.zip
# libfacturacioatr
numpy
yamlns
plantmeter
python-dateutil
freezegun
-e git://github.com/mailchimp/mailchimp-marketing-python.git#egg=mailchimp-marketing-python
2 changes: 1 addition & 1 deletion som_generationkwh/somenergia_soci.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from osv import osv, fields
from tools.translate import _
import mailchimp_marketing as MailchimpMarketing
from tools import config
from oorq.decorators import job

Expand Down Expand Up @@ -141,6 +140,7 @@ def arxiva_socia_mailchimp_async(self, cursor, uid, ids, context=None):


def arxiva_socia_mailchimp(self, cursor, uid, ids, context=None):
import mailchimp_marketing as MailchimpMarketing
if not isinstance(ids, (list, tuple)):
ids = [ids]
MAILCHIMP_CLIENT = MailchimpMarketing.Client(
Expand Down

0 comments on commit 697983d

Please sign in to comment.