Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5091036

Browse files
Update restaurants.py
1 parent 8fdbaea commit 5091036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎EazyDiner-Scraper/restaurants.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class EazyDiner:
99
Example:
1010
```
1111
restaurants = EazyDiner(location="Delhi NCR")
12-
```\n
13-
Methods :\n
12+
```
13+
Methods :
1414
1. ``.getRestaurants() | Response - List of restraunts and its details.
1515
"""
1616

@@ -70,5 +70,5 @@ def getRestaurants(self):
7070
)
7171
res_json = json.dumps(restaurant_data)
7272
return res_json
73-
except:
73+
exceptValueError:
7474
return None

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /