We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Louisiana is not yet available for 2017
State: LA

Louisiana's session starts on 4/10, we'll monitor the situation and update LA as soon as possible.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `openstates/la/__init__.py`
Content:
```
1 import datetime
2 import re
3 from billy.scrape.utils import url_xpath
4 from billy.utils.fulltext import pdfdata_to_text, text_after_line_numbers
5 from .bills import LABillScraper
6 from .legislators import LALegislatorScraper
7 from .committees import LACommitteeScraper
8 from .events import LAEventScraper
9 
10 metadata = {
11     'name': 'Louisiana',
12     'abbreviation': 'la',
13     'legislature_name': 'Louisiana Legislature',
14     'legislature_url': 'http://www.legis.la.gov/',
15     'capitol_timezone': 'America/Chicago',
16     'chambers': {
17         'upper': {'name': 'Senate', 'title': 'Senator'},
18         'lower': {'name': 'House', 'title': 'Representative'},
19     },
20     # Louisiana legislators serve four-year terms.
21     'terms': [
22         {
23             'name': '2008-2011',
24             'start_year': 2008,
25             'end_year': 2011,
26             'sessions': [
27                 '2009',
28                 '2010',
29                 '2011 1st Extraordinary Session',
30                 '2011',
31             ],
32         },
33         {
34             'name': '2012-2015',
35             'start_year': 2012,
36             'end_year': 2015,
37             'sessions': [
38                 '2012',
39                 '2013',
40                 '2014',
41                 '2015',
42             ],
43         },
44         {
45             'name': '2016-2019',
46             'start_year': 2016,
47             'end_year': 2019,
48             'sessions': [
49                 '2016',
50                 '2016 1st Extraordinary Session',
51                 '2016 2nd Extraordinary Session',
52             ],
53         },
54     ],
55     'session_details': {
56         '2009': {
57             'type': 'primary',
58             'start_date': datetime.date(2010, 4, 27),
59             'end_date': datetime.date(2010, 6, 24),
60             'display_name': '2009 Regular Session',
61             '_id': '09RS',
62             '_scraped_name': '2009 Regular Session',
63         },
64         '2010': {
65             'type': 'primary',
66             'start_date': datetime.date(2010, 3, 29),
67             'end_date': datetime.date(2010, 6, 21),
68             'display_name': '2010 Regular Session',
69             '_id': '10RS',
70             '_scraped_name': '2010 Regular Session',
71         },
72         '2011 1st Extraordinary Session': {
73             'type': 'special',
74             'start_date': datetime.date(2011, 3, 20),
75             'end_date': datetime.date(2011, 4, 13),
76             'display_name': '2011, 1st Extraordinary Session',
77             '_id': '111ES',
78             '_scraped_name': '2011 First Extraordinary Session',
79         },
80         '2011': {
81             'type': 'primary',
82             'start_date': datetime.date(2011, 4, 25),
83             'end_date': datetime.date(2011, 6, 23),
84             'display_name': '2011 Regular Session',
85             '_id': '11RS',
86             '_scraped_name': '2011 Regular Session',
87         },
88         '2012': {
89             'type': 'primary',
90             'start_date': datetime.date(2012, 3, 12),
91             'end_date': datetime.date(2012, 6, 4),
92             'display_name': '2012 Regular Session',
93             '_id': '12RS',
94             '_scraped_name': '2012 Regular Session',
95         },
96         '2013': {
97             'type': 'primary',
98             'start_date': datetime.date(2013, 4, 8),
99             'end_date': datetime.date(2013, 6, 6),
100             'display_name': '2013 Regular Session',
101             '_id': '13RS',
102             '_scraped_name': '2013 Regular Session',
103         },
104         '2014': {
105             'type': 'primary',
106             'start_date': datetime.date(2014, 3, 10),
107             'end_date': datetime.date(2014, 6, 2),
108             'display_name': '2014 Regular Session',
109             '_id': '14RS',
110             '_scraped_name': '2014 Regular Session',
111         },
112         '2015': {
113             'type': 'primary',
114             'start_date': datetime.date(2015, 4, 13),
115             'end_date': datetime.date(2015, 6, 11),
116             'display_name': '2015 Regular Session',
117             '_id': '15RS',
118             '_scraped_name': '2015 Regular Session',
119         },
120         '2016': {
121             'type': 'primary',
122             'start_date': datetime.date(2016, 3, 14),
123             'end_date': datetime.date(2016, 6, 6),
124             'display_name': '2016 Regular Session',
125             '_id': '16RS',
126             '_scraped_name': '2016 Regular Session',
127         },
128         '2016 1st Extraordinary Session': {
129             'type': 'special',
130             'start_date': datetime.date(2016, 2, 14),
131             'end_date': datetime.date(2016, 3, 9),
132             'display_name': '2016, 1st Extraordinary Session',
133             '_id': '161ES',
134             '_scraped_name': '2016 First Extraordinary Session',
135         },
136         '2016 2nd Extraordinary Session': {
137             'type': 'special',
138             'start_date': datetime.date(2016, 6, 6),
139             'end_date': datetime.date(2016, 6, 23),
140             'display_name': '2016, 2nd Extraordinary Session',
141             '_id': '162ES',
142             '_scraped_name': '2016 Second Extraordinary Session',
143         },
144     },
145     'feature_flags': ['subjects', 'influenceexplorer', 'events'],
146     '_ignored_scraped_sessions': [
147         '2016 Organizational Session',
148         '2015 Regular Session',
149         '2014 Regular Session',
150         '2013 Regular Session',
151         '2012 Regular Session',
152         '2012 Organizational Session',
153         '2011 Regular Session',
154         '2011 First Extraordinary Session',
155         '2010 Regular Session',
156         '2009 Regular Session',
157         '2008 Regular Session',
158         '2008 Organizational Session',
159         '2008 Second Extraordinary Session',
160         '2008 First Extraordinary Session',
161         '2007 Regular Session',
162         '2006 Regular Session',
163         '2005 Regular Session',
164         '2004 Regular Session',
165         '2004 First Extraordinary Session',
166         '2004 1st Extraordinary Session',
167         '2003 Regular Session',
168         '2002 Regular Session',
169         '2001 Regular Session',
170         '2000 Regular Session',
171         '1999 Regular Session',
172         '1998 Regular Session',
173         '1997 Regular Session',
174         '2006 Second Extraordinary Session',
175         '2006 First Extraordinary Session',
176         '2005 First Extraordinary Session',
177         '2002 First Extraordinary Session',
178         '2001 Second Extraordinary Session',
179         '2001 First Extraordinary Session',
180         '2000 Second Extraordinary Session',
181         '2000 First Extraordinary Session',
182         '1998 First Extraordinary Session',
183         '2012 Organizational Session',
184         '2000 Organizational Session',
185         '2004 Organizational Session',
186         'Other Sessions',
187         'Other Sessions',
188         'Sessions',
189     ]
190 }
191 
192 
193 def session_list():
194     return url_xpath(
195         'http://www.legis.la.gov/Legis/SessionInfo/SessionInfo.aspx',
196         '//table[@id="ctl00_ctl00_PageBody_DataListSessions"]//a[contains'
197         '(text(), "Session")]/text()')
198 
199 
200 def extract_text(doc, data):
201     return text_after_line_numbers(pdfdata_to_text(data))
202
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/openstates/la/__init__.py b/openstates/la/__init__.py
--- a/openstates/la/__init__.py
+++ b/openstates/la/__init__.py
@@ -49,6 +49,7 @@
                 '2016',
                 '2016 1st Extraordinary Session',
                 '2016 2nd Extraordinary Session',
+                '2017',
             ],
         },
     ],
@@ -141,6 +142,14 @@
             '_id': '162ES',
             '_scraped_name': '2016 Second Extraordinary Session',
         },
+        '2017': {
+            'type': 'primary',
+            'start_date': datetime.date(2017, 4, 10),
+            'end_date': datetime.date(2017, 6, 8),
+            'display_name': '2017 Regular Session',
+            '_id': '17RS',
+            '_scraped_name': '2017 Regular Session',
+        },
     },
     'feature_flags': ['subjects', 'influenceexplorer', 'events'],
     '_ignored_scraped_sessions': [

{"golden_diff": "diff --git a/openstates/la/__init__.py b/openstates/la/__init__.py\n--- a/openstates/la/__init__.py\n+++ b/openstates/la/__init__.py\n@@ -49,6 +49,7 @@\n                 '2016',\n                 '2016 1st Extraordinary Session',\n                 '2016 2nd Extraordinary Session',\n+                '2017',\n             ],\n         },\n     ],\n@@ -141,6 +142,14 @@\n             '_id': '162ES',\n             '_scraped_name': '2016 Second Extraordinary Session',\n         },\n+        '2017': {\n+            'type': 'primary',\n+            'start_date': datetime.date(2017, 4, 10),\n+            'end_date': datetime.date(2017, 6, 8),\n+            'display_name': '2017 Regular Session',\n+            '_id': '17RS',\n+            '_scraped_name': '2017 Regular Session',\n+        },\n     },\n     'feature_flags': ['subjects', 'influenceexplorer', 'events'],\n     '_ignored_scraped_sessions': [\n", "issue": "Louisiana is not yet available for 2017\nState: LA\r\n\r\nLouisiana's session starts on 4/10, we'll monitor the situation and update LA as soon as possible.\r\n\n", "before_files": [{"content": "import datetime\nimport re\nfrom billy.scrape.utils import url_xpath\nfrom billy.utils.fulltext import pdfdata_to_text, text_after_line_numbers\nfrom .bills import LABillScraper\nfrom .legislators import LALegislatorScraper\nfrom .committees import LACommitteeScraper\nfrom .events import LAEventScraper\n\nmetadata = {\n    'name': 'Louisiana',\n    'abbreviation': 'la',\n    'legislature_name': 'Louisiana Legislature',\n    'legislature_url': 'http://www.legis.la.gov/',\n    'capitol_timezone': 'America/Chicago',\n    'chambers': {\n        'upper': {'name': 'Senate', 'title': 'Senator'},\n        'lower': {'name': 'House', 'title': 'Representative'},\n    },\n    # Louisiana legislators serve four-year terms.\n    'terms': [\n        {\n            'name': '2008-2011',\n            'start_year': 2008,\n            'end_year': 2011,\n            'sessions': [\n                '2009',\n                '2010',\n                '2011 1st Extraordinary Session',\n                '2011',\n            ],\n        },\n        {\n            'name': '2012-2015',\n            'start_year': 2012,\n            'end_year': 2015,\n            'sessions': [\n                '2012',\n                '2013',\n                '2014',\n                '2015',\n            ],\n        },\n        {\n            'name': '2016-2019',\n            'start_year': 2016,\n            'end_year': 2019,\n            'sessions': [\n                '2016',\n                '2016 1st Extraordinary Session',\n                '2016 2nd Extraordinary Session',\n            ],\n        },\n    ],\n    'session_details': {\n        '2009': {\n            'type': 'primary',\n            'start_date': datetime.date(2010, 4, 27),\n            'end_date': datetime.date(2010, 6, 24),\n            'display_name': '2009 Regular Session',\n            '_id': '09RS',\n            '_scraped_name': '2009 Regular Session',\n        },\n        '2010': {\n            'type': 'primary',\n            'start_date': datetime.date(2010, 3, 29),\n            'end_date': datetime.date(2010, 6, 21),\n            'display_name': '2010 Regular Session',\n            '_id': '10RS',\n            '_scraped_name': '2010 Regular Session',\n        },\n        '2011 1st Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2011, 3, 20),\n            'end_date': datetime.date(2011, 4, 13),\n            'display_name': '2011, 1st Extraordinary Session',\n            '_id': '111ES',\n            '_scraped_name': '2011 First Extraordinary Session',\n        },\n        '2011': {\n            'type': 'primary',\n            'start_date': datetime.date(2011, 4, 25),\n            'end_date': datetime.date(2011, 6, 23),\n            'display_name': '2011 Regular Session',\n            '_id': '11RS',\n            '_scraped_name': '2011 Regular Session',\n        },\n        '2012': {\n            'type': 'primary',\n            'start_date': datetime.date(2012, 3, 12),\n            'end_date': datetime.date(2012, 6, 4),\n            'display_name': '2012 Regular Session',\n            '_id': '12RS',\n            '_scraped_name': '2012 Regular Session',\n        },\n        '2013': {\n            'type': 'primary',\n            'start_date': datetime.date(2013, 4, 8),\n            'end_date': datetime.date(2013, 6, 6),\n            'display_name': '2013 Regular Session',\n            '_id': '13RS',\n            '_scraped_name': '2013 Regular Session',\n        },\n        '2014': {\n            'type': 'primary',\n            'start_date': datetime.date(2014, 3, 10),\n            'end_date': datetime.date(2014, 6, 2),\n            'display_name': '2014 Regular Session',\n            '_id': '14RS',\n            '_scraped_name': '2014 Regular Session',\n        },\n        '2015': {\n            'type': 'primary',\n            'start_date': datetime.date(2015, 4, 13),\n            'end_date': datetime.date(2015, 6, 11),\n            'display_name': '2015 Regular Session',\n            '_id': '15RS',\n            '_scraped_name': '2015 Regular Session',\n        },\n        '2016': {\n            'type': 'primary',\n            'start_date': datetime.date(2016, 3, 14),\n            'end_date': datetime.date(2016, 6, 6),\n            'display_name': '2016 Regular Session',\n            '_id': '16RS',\n            '_scraped_name': '2016 Regular Session',\n        },\n        '2016 1st Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2016, 2, 14),\n            'end_date': datetime.date(2016, 3, 9),\n            'display_name': '2016, 1st Extraordinary Session',\n            '_id': '161ES',\n            '_scraped_name': '2016 First Extraordinary Session',\n        },\n        '2016 2nd Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2016, 6, 6),\n            'end_date': datetime.date(2016, 6, 23),\n            'display_name': '2016, 2nd Extraordinary Session',\n            '_id': '162ES',\n            '_scraped_name': '2016 Second Extraordinary Session',\n        },\n    },\n    'feature_flags': ['subjects', 'influenceexplorer', 'events'],\n    '_ignored_scraped_sessions': [\n        '2016 Organizational Session',\n        '2015 Regular Session',\n        '2014 Regular Session',\n        '2013 Regular Session',\n        '2012 Regular Session',\n        '2012 Organizational Session',\n        '2011 Regular Session',\n        '2011 First Extraordinary Session',\n        '2010 Regular Session',\n        '2009 Regular Session',\n        '2008 Regular Session',\n        '2008 Organizational Session',\n        '2008 Second Extraordinary Session',\n        '2008 First Extraordinary Session',\n        '2007 Regular Session',\n        '2006 Regular Session',\n        '2005 Regular Session',\n        '2004 Regular Session',\n        '2004 First Extraordinary Session',\n        '2004 1st Extraordinary Session',\n        '2003 Regular Session',\n        '2002 Regular Session',\n        '2001 Regular Session',\n        '2000 Regular Session',\n        '1999 Regular Session',\n        '1998 Regular Session',\n        '1997 Regular Session',\n        '2006 Second Extraordinary Session',\n        '2006 First Extraordinary Session',\n        '2005 First Extraordinary Session',\n        '2002 First Extraordinary Session',\n        '2001 Second Extraordinary Session',\n        '2001 First Extraordinary Session',\n        '2000 Second Extraordinary Session',\n        '2000 First Extraordinary Session',\n        '1998 First Extraordinary Session',\n        '2012 Organizational Session',\n        '2000 Organizational Session',\n        '2004 Organizational Session',\n        'Other Sessions',\n        'Other Sessions',\n        'Sessions',\n    ]\n}\n\n\ndef session_list():\n    return url_xpath(\n        'http://www.legis.la.gov/Legis/SessionInfo/SessionInfo.aspx',\n        '//table[@id=\"ctl00_ctl00_PageBody_DataListSessions\"]//a[contains'\n        '(text(), \"Session\")]/text()')\n\n\ndef extract_text(doc, data):\n    return text_after_line_numbers(pdfdata_to_text(data))\n", "path": "openstates/la/__init__.py"}], "after_files": [{"content": "import datetime\nimport re\nfrom billy.scrape.utils import url_xpath\nfrom billy.utils.fulltext import pdfdata_to_text, text_after_line_numbers\nfrom .bills import LABillScraper\nfrom .legislators import LALegislatorScraper\nfrom .committees import LACommitteeScraper\nfrom .events import LAEventScraper\n\nmetadata = {\n    'name': 'Louisiana',\n    'abbreviation': 'la',\n    'legislature_name': 'Louisiana Legislature',\n    'legislature_url': 'http://www.legis.la.gov/',\n    'capitol_timezone': 'America/Chicago',\n    'chambers': {\n        'upper': {'name': 'Senate', 'title': 'Senator'},\n        'lower': {'name': 'House', 'title': 'Representative'},\n    },\n    # Louisiana legislators serve four-year terms.\n    'terms': [\n        {\n            'name': '2008-2011',\n            'start_year': 2008,\n            'end_year': 2011,\n            'sessions': [\n                '2009',\n                '2010',\n                '2011 1st Extraordinary Session',\n                '2011',\n            ],\n        },\n        {\n            'name': '2012-2015',\n            'start_year': 2012,\n            'end_year': 2015,\n            'sessions': [\n                '2012',\n                '2013',\n                '2014',\n                '2015',\n            ],\n        },\n        {\n            'name': '2016-2019',\n            'start_year': 2016,\n            'end_year': 2019,\n            'sessions': [\n                '2016',\n                '2016 1st Extraordinary Session',\n                '2016 2nd Extraordinary Session',\n                '2017',\n            ],\n        },\n    ],\n    'session_details': {\n        '2009': {\n            'type': 'primary',\n            'start_date': datetime.date(2010, 4, 27),\n            'end_date': datetime.date(2010, 6, 24),\n            'display_name': '2009 Regular Session',\n            '_id': '09RS',\n            '_scraped_name': '2009 Regular Session',\n        },\n        '2010': {\n            'type': 'primary',\n            'start_date': datetime.date(2010, 3, 29),\n            'end_date': datetime.date(2010, 6, 21),\n            'display_name': '2010 Regular Session',\n            '_id': '10RS',\n            '_scraped_name': '2010 Regular Session',\n        },\n        '2011 1st Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2011, 3, 20),\n            'end_date': datetime.date(2011, 4, 13),\n            'display_name': '2011, 1st Extraordinary Session',\n            '_id': '111ES',\n            '_scraped_name': '2011 First Extraordinary Session',\n        },\n        '2011': {\n            'type': 'primary',\n            'start_date': datetime.date(2011, 4, 25),\n            'end_date': datetime.date(2011, 6, 23),\n            'display_name': '2011 Regular Session',\n            '_id': '11RS',\n            '_scraped_name': '2011 Regular Session',\n        },\n        '2012': {\n            'type': 'primary',\n            'start_date': datetime.date(2012, 3, 12),\n            'end_date': datetime.date(2012, 6, 4),\n            'display_name': '2012 Regular Session',\n            '_id': '12RS',\n            '_scraped_name': '2012 Regular Session',\n        },\n        '2013': {\n            'type': 'primary',\n            'start_date': datetime.date(2013, 4, 8),\n            'end_date': datetime.date(2013, 6, 6),\n            'display_name': '2013 Regular Session',\n            '_id': '13RS',\n            '_scraped_name': '2013 Regular Session',\n        },\n        '2014': {\n            'type': 'primary',\n            'start_date': datetime.date(2014, 3, 10),\n            'end_date': datetime.date(2014, 6, 2),\n            'display_name': '2014 Regular Session',\n            '_id': '14RS',\n            '_scraped_name': '2014 Regular Session',\n        },\n        '2015': {\n            'type': 'primary',\n            'start_date': datetime.date(2015, 4, 13),\n            'end_date': datetime.date(2015, 6, 11),\n            'display_name': '2015 Regular Session',\n            '_id': '15RS',\n            '_scraped_name': '2015 Regular Session',\n        },\n        '2016': {\n            'type': 'primary',\n            'start_date': datetime.date(2016, 3, 14),\n            'end_date': datetime.date(2016, 6, 6),\n            'display_name': '2016 Regular Session',\n            '_id': '16RS',\n            '_scraped_name': '2016 Regular Session',\n        },\n        '2016 1st Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2016, 2, 14),\n            'end_date': datetime.date(2016, 3, 9),\n            'display_name': '2016, 1st Extraordinary Session',\n            '_id': '161ES',\n            '_scraped_name': '2016 First Extraordinary Session',\n        },\n        '2016 2nd Extraordinary Session': {\n            'type': 'special',\n            'start_date': datetime.date(2016, 6, 6),\n            'end_date': datetime.date(2016, 6, 23),\n            'display_name': '2016, 2nd Extraordinary Session',\n            '_id': '162ES',\n            '_scraped_name': '2016 Second Extraordinary Session',\n        },\n        '2017': {\n            'type': 'primary',\n            'start_date': datetime.date(2017, 4, 10),\n            'end_date': datetime.date(2017, 6, 8),\n            'display_name': '2017 Regular Session',\n            '_id': '17RS',\n            '_scraped_name': '2017 Regular Session',\n        },\n    },\n    'feature_flags': ['subjects', 'influenceexplorer', 'events'],\n    '_ignored_scraped_sessions': [\n        '2016 Organizational Session',\n        '2015 Regular Session',\n        '2014 Regular Session',\n        '2013 Regular Session',\n        '2012 Regular Session',\n        '2012 Organizational Session',\n        '2011 Regular Session',\n        '2011 First Extraordinary Session',\n        '2010 Regular Session',\n        '2009 Regular Session',\n        '2008 Regular Session',\n        '2008 Organizational Session',\n        '2008 Second Extraordinary Session',\n        '2008 First Extraordinary Session',\n        '2007 Regular Session',\n        '2006 Regular Session',\n        '2005 Regular Session',\n        '2004 Regular Session',\n        '2004 First Extraordinary Session',\n        '2004 1st Extraordinary Session',\n        '2003 Regular Session',\n        '2002 Regular Session',\n        '2001 Regular Session',\n        '2000 Regular Session',\n        '1999 Regular Session',\n        '1998 Regular Session',\n        '1997 Regular Session',\n        '2006 Second Extraordinary Session',\n        '2006 First Extraordinary Session',\n        '2005 First Extraordinary Session',\n        '2002 First Extraordinary Session',\n        '2001 Second Extraordinary Session',\n        '2001 First Extraordinary Session',\n        '2000 Second Extraordinary Session',\n        '2000 First Extraordinary Session',\n        '1998 First Extraordinary Session',\n        '2012 Organizational Session',\n        '2000 Organizational Session',\n        '2004 Organizational Session',\n        'Other Sessions',\n        'Other Sessions',\n        'Sessions',\n    ]\n}\n\n\ndef session_list():\n    return url_xpath(\n        'http://www.legis.la.gov/Legis/SessionInfo/SessionInfo.aspx',\n        '//table[@id=\"ctl00_ctl00_PageBody_DataListSessions\"]//a[contains'\n        '(text(), \"Session\")]/text()')\n\n\ndef extract_text(doc, data):\n    return text_after_line_numbers(pdfdata_to_text(data))\n", "path": "openstates/la/__init__.py"}]}