Reworking module naming conventions.
This commit is contained in:
@@ -48,11 +48,12 @@ if self.MESSAGE["text"].lower() == "!пара":
|
||||
|
||||
print("test2")
|
||||
if next_lesson_time == None:
|
||||
actual_lesson_ts = reference_time + min(full_schedule.keys())
|
||||
dt_lesson = datetime.datetime.fromtimestamp(actual_lesson_ts)
|
||||
dt_lesson_finish = datetime.datetime.fromtimestamp(actual_lesson_ts + 5400)
|
||||
|
||||
if len(full_schedule.keys()) > 0:
|
||||
print("test3.1")
|
||||
actual_lesson_ts = reference_time + min(full_schedule.keys())
|
||||
dt_lesson = datetime.datetime.fromtimestamp(actual_lesson_ts)
|
||||
dt_lesson_finish = datetime.datetime.fromtimestamp(actual_lesson_ts + 5400)
|
||||
p = full_schedule[min(full_schedule.keys())]
|
||||
print("test3.1.1")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"version": 2,
|
||||
"index_file": "main.py",
|
||||
"start_on_boot": true,
|
||||
"alias": "auto-schedule-pro",
|
||||
"version": 1,
|
||||
"index_file": "index.py",
|
||||
"predefine": "predefine.py"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user