diff --git a/src/budy/models/account.py b/src/budy/models/account.py index a89b4a97..0a988281 100644 --- a/src/budy/models/account.py +++ b/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()