Browse Source

Fix bug in commit code

Getty Ritter 4 years ago
parent
commit
878232c10a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tasks.py

+ 1 - 1
tasks.py

@@ -26,7 +26,7 @@ def fmt(c):
     c.run("poetry run black $(find . -name '*.py')")
 
     if is_clean:
-        date = datetime.now.isoformat()
+        date = datetime.now().isoformat()
         c.run(f"git commit -a -m 'Automatic formatting commit: {date}'")
     else:
         print('Uncommitted change exist; skipping commit')