Exec param fix

This commit is contained in:
emkarcinos 2022-04-06 10:09:25 +02:00
parent 5803d66f08
commit f14696c41b
2 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import sys
from sklearn.feature_extraction.text import TfidfVectorizer
enable_popularity = len(sys.argv) > 2 and sys.argv[1] == '--no-popularity'
enable_popularity = not (len(sys.argv) >= 2 and sys.argv[1] == '--no-popularity')
def get_appid_for_idx(idx):
return steam_data.iloc[idx]['appid']

0
setup.sh Normal file → Executable file
View File