Exec param fix
This commit is contained in:
parent
5803d66f08
commit
f14696c41b
@ -5,7 +5,7 @@ import sys
|
|||||||
|
|
||||||
from sklearn.feature_extraction.text import TfidfVectorizer
|
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):
|
def get_appid_for_idx(idx):
|
||||||
return steam_data.iloc[idx]['appid']
|
return steam_data.iloc[idx]['appid']
|
||||||
|
Loading…
Reference in New Issue
Block a user