MarkChenX commited on
Commit
395dce9
·
verified ·
1 Parent(s): 78326ab

Update cura/github_ingestion.py

Browse files
Files changed (1) hide show
  1. cura/github_ingestion.py +1 -1
cura/github_ingestion.py CHANGED
@@ -27,7 +27,7 @@ def ingest_github_repo(repo_name: str, access_token: str):
27
  list
28
  A list of strings containing the contents of the files in the repository.
29
  """
30
- if access_token is not "":
31
  loader = GithubFileLoader(
32
  repo=repo_name,
33
  access_token=access_token,
 
27
  list
28
  A list of strings containing the contents of the files in the repository.
29
  """
30
+ if access_token != "":
31
  loader = GithubFileLoader(
32
  repo=repo_name,
33
  access_token=access_token,