summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:19:11 +0000
committerroot <root@turin.home>2022-01-30 15:19:11 +0000
commit7e0ee4b3b80773775bcd07ad622bcc34dce308d9 (patch)
tree58a808bbc7a1a5f82c9777e8b7b2681d4b3d73d3
parent214cf4da27be2c4845df7396aa22efa184b1adc7 (diff)
Errors in class structure
-rw-r--r--date.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/date.py b/date.py
index 43aac8a..b522330 100644
--- a/date.py
+++ b/date.py
@@ -3,11 +3,11 @@ from datetime import datetime
class date:
- def __init__():
+ def __init__(self):
pass
- def day():
+ def day(self):
int(datetime.now().strftime("%Y%m%d"))
- def time():
+ def time(self):
int(datetime.now().strftime("%H%M%S"))