prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Spider tapetro is broken
  During the global build at 2021-10-06-14-42-44, spider **tapetro** failed with **0 features** and **1 errors**.
  
  Here's [the log](https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/logs/tapetro.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/output/tapetro.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/output/tapetro.geojson))
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `locations/spiders/tapetro.py`
  Content:
  ```
  1 # -*- coding: utf-8 -*-
  2 import scrapy
  3 
  4 from locations.items import GeojsonPointItem
  5 from xlrd import open_workbook
  6 
  7 BRANDS = {
  8     'T': 'TravelCenters of America',
  9     'P': 'Petro',
  10     'TE': 'TA Express'
  11 }
  12 
  13 
  14 class TAPetroSpider(scrapy.Spider):
  15     name = 'tapetro'
  16     item_attributes = {'brand': "TravelCenters of America",
  17                        'brand_wikidata': "Q7835892"}
  18     allowed_domains = ['www.ta-petro.com']
  19     start_urls = (
  20         'http://www.ta-petro.com/assets/ce/Documents/Master-Location-List.xls',
  21     )
  22 
  23     def parse(self, response):
  24         workbook = open_workbook(file_contents=response.body)
  25         sheet = workbook.sheets()[0]  # Sheet1
  26 
  27         # read header
  28         nrow = 0
  29         columns = []
  30         for ncol in range(sheet.ncols):
  31             columns.append((ncol, sheet.cell(nrow, ncol).value))
  32 
  33         for nrow in range(1, sheet.nrows):
  34             store = {}
  35             for ncol, column in columns:
  36                 value = sheet.cell(nrow, ncol).value
  37                 store[column] = value
  38 
  39             if not (store.get("LATITUDE") and store.get("LONGITUDE")):
  40                 continue
  41 
  42             ref = '%s-%s-%s' % (
  43                 store['SITE ID#'], store['BRAND'], store['LOCATION_ID'])
  44             yield GeojsonPointItem(
  45                 ref=ref,
  46                 lat=float(store['LATITUDE']),
  47                 lon=float(store['LONGITUDE']),
  48                 name=store['LOCATION'],
  49                 addr_full=store['ADDRESS'],
  50                 city=store['CITY'],
  51                 state=store['STATE'],
  52                 postcode=store['ZIPCODE'],
  53                 phone=store['PHONE'],
  54                 brand=BRANDS.get(store['BRAND'], BRANDS['T']),
  55                 extras={
  56                     'amenity:fuel': True,
  57                     'fuel:diesel:class2': store['WINTERIZED DIESEL NOV-MAR(any temp)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 10 degrees or below)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 30 degrees or below)'] == 'y',
  58                     'fuel:diesel': True,
  59                     'fuel:HGV_diesel': True,
  60                     'fuel:lng': int(store['LNG(Liquified Natural Gas)/Lanes'] or 0) > 0,
  61                     'fuel:propane': store['PROPANE'] == 'Y',
  62                     'hgv': True
  63                 }
  64             )
  65
  ```
  --- 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()
  
  ```
  
golden_diff: diff --git a/locations/spiders/tapetro.py b/locations/spiders/tapetro.py
  --- a/locations/spiders/tapetro.py
  +++ b/locations/spiders/tapetro.py
  @@ -57,7 +57,7 @@
                       'fuel:diesel:class2': store['WINTERIZED DIESEL NOV-MAR(any temp)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 10 degrees or below)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 30 degrees or below)'] == 'y',
                       'fuel:diesel': True,
                       'fuel:HGV_diesel': True,
  -                    'fuel:lng': int(store['LNG(Liquified Natural Gas)/Lanes'] or 0) > 0,
  +                    'fuel:lng': store['LNG(Liquified Natural Gas)'] == 'Y',
                       'fuel:propane': store['PROPANE'] == 'Y',
                       'hgv': True
                   }
  
verification_info: {"golden_diff": "diff --git a/locations/spiders/tapetro.py b/locations/spiders/tapetro.py\n--- a/locations/spiders/tapetro.py\n+++ b/locations/spiders/tapetro.py\n@@ -57,7 +57,7 @@\n                     'fuel:diesel:class2': store['WINTERIZED DIESEL NOV-MAR(any temp)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 10 degrees or below)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 30 degrees or below)'] == 'y',\n                     'fuel:diesel': True,\n                     'fuel:HGV_diesel': True,\n-                    'fuel:lng': int(store['LNG(Liquified Natural Gas)/Lanes'] or 0) > 0,\n+                    'fuel:lng': store['LNG(Liquified Natural Gas)'] == 'Y',\n                     'fuel:propane': store['PROPANE'] == 'Y',\n                     'hgv': True\n                 }\n", "issue": "Spider tapetro is broken\nDuring the global build at 2021-10-06-14-42-44, spider **tapetro** failed with **0 features** and **1 errors**.\n\nHere's [the log](https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/logs/tapetro.txt) and [the output](https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/output/tapetro.geojson) ([on a map](https://data.alltheplaces.xyz/map.html?show=https://data.alltheplaces.xyz/runs/2021-10-06-14-42-44/output/tapetro.geojson))\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\nimport scrapy\n\nfrom locations.items import GeojsonPointItem\nfrom xlrd import open_workbook\n\nBRANDS = {\n    'T': 'TravelCenters of America',\n    'P': 'Petro',\n    'TE': 'TA Express'\n}\n\n\nclass TAPetroSpider(scrapy.Spider):\n    name = 'tapetro'\n    item_attributes = {'brand': \"TravelCenters of America\",\n                       'brand_wikidata': \"Q7835892\"}\n    allowed_domains = ['www.ta-petro.com']\n    start_urls = (\n        'http://www.ta-petro.com/assets/ce/Documents/Master-Location-List.xls',\n    )\n\n    def parse(self, response):\n        workbook = open_workbook(file_contents=response.body)\n        sheet = workbook.sheets()[0]  # Sheet1\n\n        # read header\n        nrow = 0\n        columns = []\n        for ncol in range(sheet.ncols):\n            columns.append((ncol, sheet.cell(nrow, ncol).value))\n\n        for nrow in range(1, sheet.nrows):\n            store = {}\n            for ncol, column in columns:\n                value = sheet.cell(nrow, ncol).value\n                store[column] = value\n\n            if not (store.get(\"LATITUDE\") and store.get(\"LONGITUDE\")):\n                continue\n\n            ref = '%s-%s-%s' % (\n                store['SITE ID#'], store['BRAND'], store['LOCATION_ID'])\n            yield GeojsonPointItem(\n                ref=ref,\n                lat=float(store['LATITUDE']),\n                lon=float(store['LONGITUDE']),\n                name=store['LOCATION'],\n                addr_full=store['ADDRESS'],\n                city=store['CITY'],\n                state=store['STATE'],\n                postcode=store['ZIPCODE'],\n                phone=store['PHONE'],\n                brand=BRANDS.get(store['BRAND'], BRANDS['T']),\n                extras={\n                    'amenity:fuel': True,\n                    'fuel:diesel:class2': store['WINTERIZED DIESEL NOV-MAR(any temp)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 10 degrees or below)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 30 degrees or below)'] == 'y',\n                    'fuel:diesel': True,\n                    'fuel:HGV_diesel': True,\n                    'fuel:lng': int(store['LNG(Liquified Natural Gas)/Lanes'] or 0) > 0,\n                    'fuel:propane': store['PROPANE'] == 'Y',\n                    'hgv': True\n                }\n            )\n", "path": "locations/spiders/tapetro.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\nimport scrapy\n\nfrom locations.items import GeojsonPointItem\nfrom xlrd import open_workbook\n\nBRANDS = {\n    'T': 'TravelCenters of America',\n    'P': 'Petro',\n    'TE': 'TA Express'\n}\n\n\nclass TAPetroSpider(scrapy.Spider):\n    name = 'tapetro'\n    item_attributes = {'brand': \"TravelCenters of America\",\n                       'brand_wikidata': \"Q7835892\"}\n    allowed_domains = ['www.ta-petro.com']\n    start_urls = (\n        'http://www.ta-petro.com/assets/ce/Documents/Master-Location-List.xls',\n    )\n\n    def parse(self, response):\n        workbook = open_workbook(file_contents=response.body)\n        sheet = workbook.sheets()[0]  # Sheet1\n\n        # read header\n        nrow = 0\n        columns = []\n        for ncol in range(sheet.ncols):\n            columns.append((ncol, sheet.cell(nrow, ncol).value))\n\n        for nrow in range(1, sheet.nrows):\n            store = {}\n            for ncol, column in columns:\n                value = sheet.cell(nrow, ncol).value\n                store[column] = value\n\n            if not (store.get(\"LATITUDE\") and store.get(\"LONGITUDE\")):\n                continue\n\n            ref = '%s-%s-%s' % (\n                store['SITE ID#'], store['BRAND'], store['LOCATION_ID'])\n            yield GeojsonPointItem(\n                ref=ref,\n                lat=float(store['LATITUDE']),\n                lon=float(store['LONGITUDE']),\n                name=store['LOCATION'],\n                addr_full=store['ADDRESS'],\n                city=store['CITY'],\n                state=store['STATE'],\n                postcode=store['ZIPCODE'],\n                phone=store['PHONE'],\n                brand=BRANDS.get(store['BRAND'], BRANDS['T']),\n                extras={\n                    'amenity:fuel': True,\n                    'fuel:diesel:class2': store['WINTERIZED DIESEL NOV-MAR(any temp)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 10 degrees or below)'] == 'Y' or store['WINTERIZED DIESEL NOV-MAR (when temps are 30 degrees or below)'] == 'y',\n                    'fuel:diesel': True,\n                    'fuel:HGV_diesel': True,\n                    'fuel:lng': store['LNG(Liquified Natural Gas)'] == 'Y',\n                    'fuel:propane': store['PROPANE'] == 'Y',\n                    'hgv': True\n                }\n            )\n", "path": "locations/spiders/tapetro.py"}]}