We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
MN failing since at least 2018-06-15
MN has been failing since 2018-06-15

Based on automated runs it appears that MN has not run successfully in 2 days (2018-06-15).


```
  /opt/openstates/venv-pupa/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
  """)
02:01:53 CRITICAL pupa: Session(s) 91st Legislature, 2019-2020 were reported by Minnesota.get_session_list() but were not found in Minnesota.legislative_sessions or Minnesota.ignored_scraped_sessions.
loaded Open States pupa settings...
mn (scrape, import)
  bills: {}
  committees: {}
  people: {}
  vote_events: {}
```

Visit http://bobsled.openstates.org for more info.


--- 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/mn/__init__.py`
Content:
```
1 from pupa.scrape import Jurisdiction, Organization
2 
3 from openstates.utils import url_xpath
4 
5 from .bills import MNBillScraper
6 from .committees import MNCommitteeScraper
7 from .people import MNPersonScraper
8 from .vote_events import MNVoteScraper
9 # from .events import MNEventScraper
10 
11 """
12 Minnesota legislative data can be found at the Office of the Revisor
13 of Statutes:
14 https://www.revisor.mn.gov/
15 
16 Votes:
17 There are not detailed vote data for Senate votes, simply yes and no counts.
18 Bill pages have vote counts and links to House details, so it makes more
19 sense to get vote data from the bill pages.
20 """
21 
22 
23 class Minnesota(Jurisdiction):
24     division_id = "ocd-division/country:us/state:mn"
25     classification = "government"
26     name = "Minnesota"
27     url = "http://state.mn.us/"
28     scrapers = {
29         "bills": MNBillScraper,
30         "committees": MNCommitteeScraper,
31         "people": MNPersonScraper,
32         "vote_events": MNVoteScraper,
33         # "events": MNEventScraper,
34     }
35     legislative_sessions = [
36         {
37             '_scraped_name': '86th Legislature, 2009-2010',
38             'classification': 'primary',
39             'identifier': '2009-2010',
40             'name': '2009-2010 Regular Session'
41         },
42         {
43             '_scraped_name': '86th Legislature, 2010 1st Special Session',
44             'classification': 'special',
45             'identifier': '2010 1st Special Session',
46             'name': '2010, 1st Special Session'
47         },
48         {
49             '_scraped_name': '86th Legislature, 2010 2nd Special Session',
50             'classification': 'special',
51             'identifier': '2010 2nd Special Session',
52             'name': '2010, 2nd Special Session'
53         },
54         {
55             '_scraped_name': '87th Legislature, 2011-2012',
56             'classification': 'primary',
57             'identifier': '2011-2012',
58             'name': '2011-2012 Regular Session'
59         },
60         {
61             '_scraped_name': '87th Legislature, 2011 1st Special Session',
62             'classification': 'special',
63             'identifier': '2011s1',
64             'name': '2011, 1st Special Session'
65         },
66         {
67             '_scraped_name': '87th Legislature, 2012 1st Special Session',
68             'classification': 'special',
69             'identifier': '2012s1',
70             'name': '2012, 1st Special Session'
71         },
72         {
73             '_scraped_name': '88th Legislature, 2013-2014',
74             'classification': 'primary',
75             'identifier': '2013-2014',
76             'name': '2013-2014 Regular Session'
77         },
78         {
79             '_scraped_name': '88th Legislature, 2013 1st Special Session',
80             'classification': 'special',
81             'identifier': '2013s1',
82             'name': '2013, 1st Special Session'
83         },
84         {
85             '_scraped_name': '89th Legislature, 2015-2016',
86             'classification': 'primary',
87             'identifier': '2015-2016',
88             'name': '2015-2016 Regular Session'
89         },
90         {
91             '_scraped_name': '89th Legislature, 2015 1st Special Session',
92             'classification': 'special',
93             'identifier': '2015s1',
94             'name': '2015, 1st Special Session'
95         },
96         {
97             '_scraped_name': '90th Legislature, 2017 1st Special Session',
98             'classification': 'special',
99             'identifier': '2017s1',
100             'name': '2017, 1st Special Session'
101         },
102         {
103             '_scraped_name': '90th Legislature, 2017-2018',
104             'classification': 'primary',
105             'identifier': '2017-2018',
106             'name': '2017-2018 Regular Session',
107             'start_date': '2017-01-03',
108             'end_date': '2018-05-21'
109         },
110     ]
111     ignored_scraped_sessions = [
112         '85th Legislature, 2007-2008',
113         '85th Legislature, 2007 1st Special Session',
114         '84th Legislature, 2005-2006',
115         '84th Legislature, 2005 1st Special Session',
116         '83rd Legislature, 2003-2004',
117         '83rd Legislature, 2003 1st Special Session',
118         '82nd Legislature, 2001-2002',
119         '82nd Legislature, 2002 1st Special Session',
120         '82nd Legislature, 2001 1st Special Session',
121         '81st Legislature, 1999-2000',
122         '80th Legislature, 1997-1998',
123         '80th Legislature, 1998 1st Special Session',
124         '80th Legislature, 1997 3rd Special Session',
125         '80th Legislature, 1997 2nd Special Session',
126         '80th Legislature, 1997 1st Special Session',
127         '79th Legislature, 1995-1996',
128         '79th Legislature, 1995 1st Special Session',
129         '89th Legislature, 2015-2016',
130     ]
131 
132     def get_organizations(self):
133         legis = Organization('Minnesota Legislature', classification='legislature')
134 
135         upper = Organization('Minnesota Senate', classification='upper',
136                              parent_id=legis._id)
137         lower = Organization('Minnesota House of Representatives',
138                              classification='lower', parent_id=legis._id)
139 
140         for n in range(1, 68):
141             upper.add_post(label=str(n), role='Senator',
142                            division_id='ocd-division/country:us/state:mn/sldu:{}'.format(n))
143             lower.add_post(label=str(n) + 'A', role='Representative',
144                            division_id='ocd-division/country:us/state:mn/sldl:{}a'.format(n))
145             lower.add_post(label=str(n) + 'B', role='Representative',
146                            division_id='ocd-division/country:us/state:mn/sldl:{}b'.format(n))
147 
148         yield Organization('Governor of Minnesota', classification='executive')
149         yield legis
150         yield upper
151         yield lower
152 
153     def get_session_list(self):
154         return url_xpath('https://www.revisor.mn.gov/bills/'
155                          'status_search.php?body=House',
156                          '//select[@name="session"]/option/text()', verify=False)
157
```
--- 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/mn/__init__.py b/openstates/mn/__init__.py
--- a/openstates/mn/__init__.py
+++ b/openstates/mn/__init__.py
@@ -127,6 +127,7 @@
         '79th Legislature, 1995-1996',
         '79th Legislature, 1995 1st Special Session',
         '89th Legislature, 2015-2016',
+        '91st Legislature, 2019-2020',
     ]
 
     def get_organizations(self):

{"golden_diff": "diff --git a/openstates/mn/__init__.py b/openstates/mn/__init__.py\n--- a/openstates/mn/__init__.py\n+++ b/openstates/mn/__init__.py\n@@ -127,6 +127,7 @@\n         '79th Legislature, 1995-1996',\n         '79th Legislature, 1995 1st Special Session',\n         '89th Legislature, 2015-2016',\n+        '91st Legislature, 2019-2020',\n     ]\n \n     def get_organizations(self):\n", "issue": "MN failing since at least 2018-06-15\nMN has been failing since 2018-06-15\n\nBased on automated runs it appears that MN has not run successfully in 2 days (2018-06-15).\n\n\n```\n  /opt/openstates/venv-pupa/lib/python3.6/site-packages/psycopg2/__init__.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use \"pip install psycopg2-binary\" instead. For details see: <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.\n  \"\"\")\n02:01:53 CRITICAL pupa: Session(s) 91st Legislature, 2019-2020 were reported by Minnesota.get_session_list() but were not found in Minnesota.legislative_sessions or Minnesota.ignored_scraped_sessions.\nloaded Open States pupa settings...\nmn (scrape, import)\n  bills: {}\n  committees: {}\n  people: {}\n  vote_events: {}\n```\n\nVisit http://bobsled.openstates.org for more info.\n\n", "before_files": [{"content": "from pupa.scrape import Jurisdiction, Organization\n\nfrom openstates.utils import url_xpath\n\nfrom .bills import MNBillScraper\nfrom .committees import MNCommitteeScraper\nfrom .people import MNPersonScraper\nfrom .vote_events import MNVoteScraper\n# from .events import MNEventScraper\n\n\"\"\"\nMinnesota legislative data can be found at the Office of the Revisor\nof Statutes:\nhttps://www.revisor.mn.gov/\n\nVotes:\nThere are not detailed vote data for Senate votes, simply yes and no counts.\nBill pages have vote counts and links to House details, so it makes more\nsense to get vote data from the bill pages.\n\"\"\"\n\n\nclass Minnesota(Jurisdiction):\n    division_id = \"ocd-division/country:us/state:mn\"\n    classification = \"government\"\n    name = \"Minnesota\"\n    url = \"http://state.mn.us/\"\n    scrapers = {\n        \"bills\": MNBillScraper,\n        \"committees\": MNCommitteeScraper,\n        \"people\": MNPersonScraper,\n        \"vote_events\": MNVoteScraper,\n        # \"events\": MNEventScraper,\n    }\n    legislative_sessions = [\n        {\n            '_scraped_name': '86th Legislature, 2009-2010',\n            'classification': 'primary',\n            'identifier': '2009-2010',\n            'name': '2009-2010 Regular Session'\n        },\n        {\n            '_scraped_name': '86th Legislature, 2010 1st Special Session',\n            'classification': 'special',\n            'identifier': '2010 1st Special Session',\n            'name': '2010, 1st Special Session'\n        },\n        {\n            '_scraped_name': '86th Legislature, 2010 2nd Special Session',\n            'classification': 'special',\n            'identifier': '2010 2nd Special Session',\n            'name': '2010, 2nd Special Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2011-2012',\n            'classification': 'primary',\n            'identifier': '2011-2012',\n            'name': '2011-2012 Regular Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2011 1st Special Session',\n            'classification': 'special',\n            'identifier': '2011s1',\n            'name': '2011, 1st Special Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2012 1st Special Session',\n            'classification': 'special',\n            'identifier': '2012s1',\n            'name': '2012, 1st Special Session'\n        },\n        {\n            '_scraped_name': '88th Legislature, 2013-2014',\n            'classification': 'primary',\n            'identifier': '2013-2014',\n            'name': '2013-2014 Regular Session'\n        },\n        {\n            '_scraped_name': '88th Legislature, 2013 1st Special Session',\n            'classification': 'special',\n            'identifier': '2013s1',\n            'name': '2013, 1st Special Session'\n        },\n        {\n            '_scraped_name': '89th Legislature, 2015-2016',\n            'classification': 'primary',\n            'identifier': '2015-2016',\n            'name': '2015-2016 Regular Session'\n        },\n        {\n            '_scraped_name': '89th Legislature, 2015 1st Special Session',\n            'classification': 'special',\n            'identifier': '2015s1',\n            'name': '2015, 1st Special Session'\n        },\n        {\n            '_scraped_name': '90th Legislature, 2017 1st Special Session',\n            'classification': 'special',\n            'identifier': '2017s1',\n            'name': '2017, 1st Special Session'\n        },\n        {\n            '_scraped_name': '90th Legislature, 2017-2018',\n            'classification': 'primary',\n            'identifier': '2017-2018',\n            'name': '2017-2018 Regular Session',\n            'start_date': '2017-01-03',\n            'end_date': '2018-05-21'\n        },\n    ]\n    ignored_scraped_sessions = [\n        '85th Legislature, 2007-2008',\n        '85th Legislature, 2007 1st Special Session',\n        '84th Legislature, 2005-2006',\n        '84th Legislature, 2005 1st Special Session',\n        '83rd Legislature, 2003-2004',\n        '83rd Legislature, 2003 1st Special Session',\n        '82nd Legislature, 2001-2002',\n        '82nd Legislature, 2002 1st Special Session',\n        '82nd Legislature, 2001 1st Special Session',\n        '81st Legislature, 1999-2000',\n        '80th Legislature, 1997-1998',\n        '80th Legislature, 1998 1st Special Session',\n        '80th Legislature, 1997 3rd Special Session',\n        '80th Legislature, 1997 2nd Special Session',\n        '80th Legislature, 1997 1st Special Session',\n        '79th Legislature, 1995-1996',\n        '79th Legislature, 1995 1st Special Session',\n        '89th Legislature, 2015-2016',\n    ]\n\n    def get_organizations(self):\n        legis = Organization('Minnesota Legislature', classification='legislature')\n\n        upper = Organization('Minnesota Senate', classification='upper',\n                             parent_id=legis._id)\n        lower = Organization('Minnesota House of Representatives',\n                             classification='lower', parent_id=legis._id)\n\n        for n in range(1, 68):\n            upper.add_post(label=str(n), role='Senator',\n                           division_id='ocd-division/country:us/state:mn/sldu:{}'.format(n))\n            lower.add_post(label=str(n) + 'A', role='Representative',\n                           division_id='ocd-division/country:us/state:mn/sldl:{}a'.format(n))\n            lower.add_post(label=str(n) + 'B', role='Representative',\n                           division_id='ocd-division/country:us/state:mn/sldl:{}b'.format(n))\n\n        yield Organization('Governor of Minnesota', classification='executive')\n        yield legis\n        yield upper\n        yield lower\n\n    def get_session_list(self):\n        return url_xpath('https://www.revisor.mn.gov/bills/'\n                         'status_search.php?body=House',\n                         '//select[@name=\"session\"]/option/text()', verify=False)\n", "path": "openstates/mn/__init__.py"}], "after_files": [{"content": "from pupa.scrape import Jurisdiction, Organization\n\nfrom openstates.utils import url_xpath\n\nfrom .bills import MNBillScraper\nfrom .committees import MNCommitteeScraper\nfrom .people import MNPersonScraper\nfrom .vote_events import MNVoteScraper\n# from .events import MNEventScraper\n\n\"\"\"\nMinnesota legislative data can be found at the Office of the Revisor\nof Statutes:\nhttps://www.revisor.mn.gov/\n\nVotes:\nThere are not detailed vote data for Senate votes, simply yes and no counts.\nBill pages have vote counts and links to House details, so it makes more\nsense to get vote data from the bill pages.\n\"\"\"\n\n\nclass Minnesota(Jurisdiction):\n    division_id = \"ocd-division/country:us/state:mn\"\n    classification = \"government\"\n    name = \"Minnesota\"\n    url = \"http://state.mn.us/\"\n    scrapers = {\n        \"bills\": MNBillScraper,\n        \"committees\": MNCommitteeScraper,\n        \"people\": MNPersonScraper,\n        \"vote_events\": MNVoteScraper,\n        # \"events\": MNEventScraper,\n    }\n    legislative_sessions = [\n        {\n            '_scraped_name': '86th Legislature, 2009-2010',\n            'classification': 'primary',\n            'identifier': '2009-2010',\n            'name': '2009-2010 Regular Session'\n        },\n        {\n            '_scraped_name': '86th Legislature, 2010 1st Special Session',\n            'classification': 'special',\n            'identifier': '2010 1st Special Session',\n            'name': '2010, 1st Special Session'\n        },\n        {\n            '_scraped_name': '86th Legislature, 2010 2nd Special Session',\n            'classification': 'special',\n            'identifier': '2010 2nd Special Session',\n            'name': '2010, 2nd Special Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2011-2012',\n            'classification': 'primary',\n            'identifier': '2011-2012',\n            'name': '2011-2012 Regular Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2011 1st Special Session',\n            'classification': 'special',\n            'identifier': '2011s1',\n            'name': '2011, 1st Special Session'\n        },\n        {\n            '_scraped_name': '87th Legislature, 2012 1st Special Session',\n            'classification': 'special',\n            'identifier': '2012s1',\n            'name': '2012, 1st Special Session'\n        },\n        {\n            '_scraped_name': '88th Legislature, 2013-2014',\n            'classification': 'primary',\n            'identifier': '2013-2014',\n            'name': '2013-2014 Regular Session'\n        },\n        {\n            '_scraped_name': '88th Legislature, 2013 1st Special Session',\n            'classification': 'special',\n            'identifier': '2013s1',\n            'name': '2013, 1st Special Session'\n        },\n        {\n            '_scraped_name': '89th Legislature, 2015-2016',\n            'classification': 'primary',\n            'identifier': '2015-2016',\n            'name': '2015-2016 Regular Session'\n        },\n        {\n            '_scraped_name': '89th Legislature, 2015 1st Special Session',\n            'classification': 'special',\n            'identifier': '2015s1',\n            'name': '2015, 1st Special Session'\n        },\n        {\n            '_scraped_name': '90th Legislature, 2017 1st Special Session',\n            'classification': 'special',\n            'identifier': '2017s1',\n            'name': '2017, 1st Special Session'\n        },\n        {\n            '_scraped_name': '90th Legislature, 2017-2018',\n            'classification': 'primary',\n            'identifier': '2017-2018',\n            'name': '2017-2018 Regular Session',\n            'start_date': '2017-01-03',\n            'end_date': '2018-05-21'\n        },\n    ]\n    ignored_scraped_sessions = [\n        '85th Legislature, 2007-2008',\n        '85th Legislature, 2007 1st Special Session',\n        '84th Legislature, 2005-2006',\n        '84th Legislature, 2005 1st Special Session',\n        '83rd Legislature, 2003-2004',\n        '83rd Legislature, 2003 1st Special Session',\n        '82nd Legislature, 2001-2002',\n        '82nd Legislature, 2002 1st Special Session',\n        '82nd Legislature, 2001 1st Special Session',\n        '81st Legislature, 1999-2000',\n        '80th Legislature, 1997-1998',\n        '80th Legislature, 1998 1st Special Session',\n        '80th Legislature, 1997 3rd Special Session',\n        '80th Legislature, 1997 2nd Special Session',\n        '80th Legislature, 1997 1st Special Session',\n        '79th Legislature, 1995-1996',\n        '79th Legislature, 1995 1st Special Session',\n        '89th Legislature, 2015-2016',\n        '91st Legislature, 2019-2020',\n    ]\n\n    def get_organizations(self):\n        legis = Organization('Minnesota Legislature', classification='legislature')\n\n        upper = Organization('Minnesota Senate', classification='upper',\n                             parent_id=legis._id)\n        lower = Organization('Minnesota House of Representatives',\n                             classification='lower', parent_id=legis._id)\n\n        for n in range(1, 68):\n            upper.add_post(label=str(n), role='Senator',\n                           division_id='ocd-division/country:us/state:mn/sldu:{}'.format(n))\n            lower.add_post(label=str(n) + 'A', role='Representative',\n                           division_id='ocd-division/country:us/state:mn/sldl:{}a'.format(n))\n            lower.add_post(label=str(n) + 'B', role='Representative',\n                           division_id='ocd-division/country:us/state:mn/sldl:{}b'.format(n))\n\n        yield Organization('Governor of Minnesota', classification='executive')\n        yield legis\n        yield upper\n        yield lower\n\n    def get_session_list(self):\n        return url_xpath('https://www.revisor.mn.gov/bills/'\n                         'status_search.php?body=House',\n                         '//select[@name=\"session\"]/option/text()', verify=False)\n", "path": "openstates/mn/__init__.py"}]}