mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 00:14:02 +00:00
fix(lint): ruff var
This commit is contained in:
1 parent
1ad82c22d9
commit
7717242112
1 file changed
+1
@@ -23,6 +23,7 @@ class GitHubLoader(BaseRemote):
|
||||
decoded_content = base64.b64decode(content["content"]).decode("utf-8")
|
||||
return decoded_content
|
||||
except Exception as e:
|
||||
print(f"Error decoding content for {file_path}: {e}")
|
||||
raise
|
||||
else:
|
||||
return content["content"]
|
||||
|
||||
Reference in new issue
Block a user