Add requirements.txt
This commit is contained in:
parent
a744d7c7e8
commit
8886bbfe86
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
openai==1.35.4
|
||||||
|
Requests==2.32.3
|
||||||
|
spotipy==2.24.0
|
BIN
src/__pycache__/clock.cpython-311.pyc
Normal file
BIN
src/__pycache__/clock.cpython-311.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/spotify.cpython-311.pyc
Normal file
BIN
src/__pycache__/spotify.cpython-311.pyc
Normal file
Binary file not shown.
BIN
src/__pycache__/weather.cpython-311.pyc
Normal file
BIN
src/__pycache__/weather.cpython-311.pyc
Normal file
Binary file not shown.
@ -51,6 +51,8 @@ class Clock:
|
|||||||
hour = str(time.hour)
|
hour = str(time.hour)
|
||||||
if time.hour > 12:
|
if time.hour > 12:
|
||||||
hour = str(time.hour - 12)
|
hour = str(time.hour - 12)
|
||||||
|
elif time.hour == 0:
|
||||||
|
hour = "12"
|
||||||
hour = self.serialize_time_part(hour)
|
hour = self.serialize_time_part(hour)
|
||||||
minute = str(time.minute)
|
minute = str(time.minute)
|
||||||
if time.minute < 10:
|
if time.minute < 10:
|
||||||
|
Loading…
Reference in New Issue
Block a user