File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -291,9 +291,10 @@ def get_path(obj, path):
291291 del filtered_resp ['languages_url' ]
292292
293293 # get default README
294- readme_info , date = rate_limit_get (repo_api_base_url + "/readme" ,
295294 headers = topics_headers ,
296- params = ref_param )
295+ #readme_info, date = rate_limit_get(repo_api_base_url + "/readme",
296+ # headers=topics_headers,
297+ # params=ref_param)
297298 #if 'message' in readme_info.keys():
298299 # print("README Error: " + readme_info['message'])
299300 # text = ""
@@ -809,7 +810,7 @@ def load_local_repository_metadata(local_repo):
809810 with open (os .path .join (os .path .join (repo_dir , "README.MD" )), "r" , encoding = 'utf-8' ) as data_file :
810811 text = data_file .read ()
811812 elif os .path .exists (os .path .join (repo_dir , "README.md" )):
812- with open (os .path .join (os .path .join (repo_dir , "README.MD " )), "r" , encoding = 'utf-8' ) as data_file :
813+ with open (os .path .join (os .path .join (repo_dir , "README.md " )), "r" , encoding = 'utf-8' ) as data_file :
813814 text = data_file .read ()
814815 for dirpath , dirnames , filenames in os .walk (repo_dir ):
815816 repo_relative_path = os .path .relpath (dirpath , repo_dir )
You can’t perform that action at this time.
0 commit comments