Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Commit

Permalink
Changed kwarg namespace to match elex for #98
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Feb 7, 2016
1 parent 122d45d commit e27d5d9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions elections/ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@
from cStringIO import StringIO
from BeautifulSoup import BeautifulStoneSoup
from dateutil.parser import parse as dateparse

from elex.api.models import (
Candidate,
BallotMeasure,
CandidateReportingUnit,
ReportingUnit,
Race,
#Elections,
#Election
Race
)


Expand All @@ -39,7 +36,7 @@ class Election(object):
FTP_HOSTNAME = 'electionsonline.ap.org'
ap_number_template = '%(number)s-%(state)s'

def __init__(self, election_date='20160201', username=None, password=None, results=True, **kwargs):
def __init__(self, electiondate='20160201', username=None, password=None, results=True, **kwargs):
self.username = username
self.password = password
self._ftp = None
Expand Down

0 comments on commit e27d5d9

Please sign in to comment.