Browse Source

Update controls.py

pull/18/head
James Mc Dermott 3 years ago
committed by GitHub
parent
commit
1526f19b3e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      scripts/controls.py

+ 2
- 1
scripts/controls.py View File

@@ -27,7 +27,8 @@ def run_loop(lst, options, details):
for room in lst:
timetable, url = builders.build_timetable("GLA." + room, week, day, time)
status = checks.check_room(url)
print(room + ": " + status) if options.available and len(status) <= 9 else print(room + ": " + status)
if options.available and len(status) <= 9: print(room + ": " + status)
else: print(room + ": " + status)


def booking_control(c, g, details):


Loading…
Cancel
Save