Browse Source

fixes #17

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

+ 5
- 2
scripts/controls.py View File

@@ -23,8 +23,11 @@ __copyright__ = 'Copyright (c) 2017 theycallmemac'
__license__ = 'GPL-3.0'

def get_statuses(status, options, room):
if options.available and len(status) <= 9: print(room + ": " + status)
else: print(room + ": " + status)
if options.available:
if len(status) <= 9:
print(room + ": " + status)
else:
print(room + ": " + status)
def run_loop(lst, options, details):
week, day, time = details[0:3]


Loading…
Cancel
Save