Skip to content

Commit aa34e08

Browse files
committed
progress
Signed-off-by: Isaac Milarsky <[email protected]>
1 parent b7d8320 commit aa34e08

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

codejson_index_generator/parsers.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import os
66
import requests
77
import re
8+
import subprocess
89

910
from time import sleep, mktime, gmtime, time, localtime
1011
from typing import Dict, Optional
@@ -114,12 +115,15 @@ def get_code_json_github(self,repo : str) -> Optional[Dict]:
114115
except (json.JSONDecodeError, ValueError) as e:
115116
print(f"JSON Error: {str(e)}")
116117
return None
118+
119+
def get_code_json_other(self,repo: str) -> Optional[Dict]:
120+
return None
117121

118122
def get_code_json(self, repo: str) -> Optional[Dict]:
119123
if 'github' in repo:
120124
return self.get_code_json_github(repo)
121125
else:
122-
return None
126+
return self.get_code_json_other(repo)
123127

124128
def save_code_json(self, repo: str, output_path: str) -> Optional[str]:
125129

0 commit comments

Comments
 (0)