Skip to content

Commit ce8228f

Browse files
authored
Merge pull request #92 from sommersoft/cp_org_datetime
Fix Mangling a Call To 'datetime'
2 parents ed8c7ea + ba65a72 commit ce8228f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adabot/update_cp_org_libraries.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def update_json_file(working_directory, cp_org_dir, output_filename, json_string
166166
with open(output_filename, "w") as json_file:
167167
json.dump(json_string, json_file, indent=2)
168168

169-
commit_day = date.date.strftime(datetime.datetime.today(), "%Y-%m-%d")
169+
commit_day = datetime.date.strftime(datetime.date.today(), "%Y-%m-%d")
170170
commit_msg = "adabot: auto-update of libraries.json ({})".format(commit_day)
171171
git.commit("-a", "-m", commit_msg)
172172
git_push = git.push("adafruit", "master")

0 commit comments

Comments
 (0)