Skip to content
Permalink
Browse files

small fixes

  • Loading branch information
tsilva
tsilva committed Jun 8, 2016
1 parent 995f263 commit 791bd15e068c89800a5a82cc5467a0892b3c914a
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/budy/models/account.py
@@ -145,15 +145,14 @@ def _build_short_name(cls, first_name, last_name, limit = 16):
@appier.link(
name = "Import Social CSV",
parameters = (
("CSV File", "file", "file"),
("Empty source", "empty", bool, True)
("CSV File", "file", "file")
)
)
def import__social_csv_s(cls, file, empty):
def import__social_csv_s(cls, file):

def callback(line):
username, facebook_id, google_id = line
account = BudyAccount.get(username = username)
account = cls.get(username = username)
if facebook_id: account.facebook_id = facebook_id
if google_id: account.google_id = google_id
account.save()

0 comments on commit 791bd15

Please sign in to comment.
You can’t perform that action at this time.