mirror of https://gitlab.com/bashrc2/epicyon
				
				
				
			Remove default function argument
							parent
							
								
									86b8e379f1
								
							
						
					
					
						commit
						a599d44d63
					
				|  | @ -229,7 +229,7 @@ def _valid_hashtag_category(category: str) -> bool: | |||
| 
 | ||||
| 
 | ||||
| def set_hashtag_category(base_dir: str, hashtag: str, category: str, | ||||
|                          update: bool, force: bool = False) -> bool: | ||||
|                          update: bool, force: bool) -> bool: | ||||
|     """Sets the category for the hashtag | ||||
|     """ | ||||
|     if not _valid_hashtag_category(category): | ||||
|  |  | |||
|  | @ -125,7 +125,7 @@ def set_hashtag_category2(self, calling_domain: str, cookie: str, | |||
|                not is_filtered(base_dir, nickname, domain, category_str, | ||||
|                                system_language): | ||||
|                 set_hashtag_category(base_dir, hashtag, | ||||
|                                      category_str, False) | ||||
|                                      category_str, False, False) | ||||
|         else: | ||||
|             category_filename = base_dir + '/tags/' + hashtag + '.category' | ||||
|             if os.path.isfile(category_filename): | ||||
|  |  | |||
|  | @ -2379,7 +2379,7 @@ def _profile_post_skill_level(actor_json: {}, | |||
|         skills_str = translate['Skills'] | ||||
|         skills_str = skills_str.lower() | ||||
|         set_hashtag_category(base_dir, skill_name, | ||||
|                              skills_str, False) | ||||
|                              skills_str, False, False) | ||||
|         skill_ctr += 1 | ||||
|     if no_of_actor_skills(actor_json) != actor_skills_ctr: | ||||
|         actor_changed = True | ||||
|  |  | |||
							
								
								
									
										2
									
								
								inbox.py
								
								
								
								
							
							
						
						
									
										2
									
								
								inbox.py
								
								
								
								
							|  | @ -453,7 +453,7 @@ def store_hash_tags(base_dir: str, nickname: str, domain: str, | |||
|                     guess_hashtag_category(tag_name, hashtag_categories, 6) | ||||
|                 if category_str: | ||||
|                     set_hashtag_category(base_dir, tag_name, | ||||
|                                          category_str, False) | ||||
|                                          category_str, False, False) | ||||
| 
 | ||||
|     # if some hashtags were found then recalculate the swarm | ||||
|     # ready for later display | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue