We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 996fede commit 4e5488dCopy full SHA for 4e5488d
src/update_solution.py
@@ -4,7 +4,8 @@
4
import re
5
6
if __name__ == "__main__":
7
- assert(len(sys.argv) == 3) # Adjusted to take only the token and README path
+ assert(len(sys.argv) == 4) # Adjusted to expect three arguments + the script name
8
+ handle = "Hunterdii" # The fixed GitHub user handle
9
token = sys.argv[1]
10
readmePath = sys.argv[2]
11
@@ -13,7 +14,7 @@
13
14
}
15
16
# Set the target repository to the specific repo
- repo_name = "Hunterdii/GeeksforGeeks-POTD"
17
+ repo_name = "Hunterdii/GeeksforGeeks-POTD"
18
commit_url = f"https://api.github.com/repos/{repo_name}/commits?sha=main"
19
20
# Fetch the latest commit details
0 commit comments