DemiPoto commited on
Commit
3201557
1 Parent(s): c24321f

Update all_models2.py

Browse files
Files changed (1) hide show
  1. all_models2.py +2 -2
all_models2.py CHANGED
@@ -85,7 +85,7 @@ def tag_new(models,limit=40):
85
  output[2].append(models[i])
86
  return output
87
 
88
- def tag_fav(models=models,fav_models=fav_models):
89
  print(fav_models)
90
  output=["FAV",0,[]]
91
  for m in fav_models:
@@ -114,7 +114,7 @@ tags_plus_models = orga_tag(clas_tags(sorted(models_plus_tags, key=itemgetter(0)
114
  list_new=tag_new(models,40)
115
  models_plus_tags=update_tag(models_plus_tags,list_new)
116
  tags_plus_models.insert(1,list_new)
117
- list_fav=tag_fav()
118
  if list_fav[1]>0:
119
  tags_plus_models.insert(1,list_fav)
120
  models_plus_tags=update_tag(models_plus_tags,list_fav)
 
85
  output[2].append(models[i])
86
  return output
87
 
88
+ def tag_fav(models,fav_models):
89
  print(fav_models)
90
  output=["FAV",0,[]]
91
  for m in fav_models:
 
114
  list_new=tag_new(models,40)
115
  models_plus_tags=update_tag(models_plus_tags,list_new)
116
  tags_plus_models.insert(1,list_new)
117
+ list_fav=tag_fav(models,fav_models)
118
  if list_fav[1]>0:
119
  tags_plus_models.insert(1,list_fav)
120
  models_plus_tags=update_tag(models_plus_tags,list_fav)