Skip to content

Commit 17880b9

Browse files
authored
Update Coincap.py
remove the args in the main() definition
1 parent 55b9d06 commit 17880b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Coincap/Coincap.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def convert_strings_to_floats(json_obj):
1818
return json_obj
1919

2020
# Main function to execute the script
21-
def main(argv):
21+
def main():
2222

2323
# Set headers for Data API request
2424
header_params = {
@@ -40,4 +40,4 @@ def main(argv):
4040
session.put("http://localhost:34567/api/data/parameters", json=body, headers=header_params)
4141

4242
if __name__ == "__main__":
43-
main()
43+
main()

0 commit comments

Comments
 (0)