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 6b327c1

Browse files
Update questions.py
1 parent adb63e3 commit 6b327c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎AskUbuntu-Scraper/questions.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def getQuestions(self):
6464
)
6565
json_data = json.dumps(questions_data)
6666
return json_data
67-
except:
67+
exceptValueError:
6868
error_message = {"message": "No questions related to the topic found"}
6969
ejson = json.dumps(error_message)
7070
return ejson

0 commit comments

Comments
(0)

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