Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions install_requirements.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ def install(package):
required = [line.strip().lower() for line in file_lines]
file.close()
except FileNotFoundError:
print("[ERROR] No requiremnts.txt file found")
print("[ERROR] requirements.txt file not found")


if len(required) > 0:
print("[INPUT] You are about to install", len(required), "packages, would you like to proceed (y/n):", end=" ")
ans = input()

if ans.lower() == "y":
if ans.lower() == 'y' or ans.lower() == 'yes':
for package in required:
try:
print("[LOG] Looking for", package)
Expand Down