Update prompt message for programming language input in main.py
This commit is contained in:
parent
db8fcdae42
commit
6b952712e4
1 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
@ -35,7 +35,7 @@ def get_random_repo(language=None):
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# prompt user to enter a programming language (optional)
|
# prompt user to enter a programming language (optional)
|
||||||
language = input("Enter a programming language: ").strip()
|
language = input("Enter a programming language (leave blank for random): ").strip()
|
||||||
|
|
||||||
repo = get_random_repo(language=language if language else None)
|
repo = get_random_repo(language=language if language else None)
|
||||||
if repo:
|
if repo:
|
||||||
|
|
Loading…
Reference in a new issue