mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
fix(lint): ruff var
This commit is contained in:
@@ -23,6 +23,7 @@ class GitHubLoader(BaseRemote):
|
|||||||
decoded_content = base64.b64decode(content["content"]).decode("utf-8")
|
decoded_content = base64.b64decode(content["content"]).decode("utf-8")
|
||||||
return decoded_content
|
return decoded_content
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
print(f"Error decoding content for {file_path}: {e}")
|
||||||
raise
|
raise
|
||||||
else:
|
else:
|
||||||
return content["content"]
|
return content["content"]
|
||||||
|
|||||||
Reference in New Issue
Block a user