Browse Source

fixed now control

pull/24/head
theycallmemac 3 years ago
parent
commit
c694d8b236
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      scripts/main.py
  2. +1
    -1
      scripts/opts.py

+ 1
- 1
scripts/main.py View File

@@ -63,6 +63,6 @@ def main():
elif options.lookup:
opts.lookup_room(info)
if options.now:
opts.now()
opts.now(rooms, info, options)
if __name__ == "__main__":
main()

+ 1
- 1
scripts/opts.py View File

@@ -53,7 +53,7 @@ def lookup_room(info):
look.check_time(info[0])
look.room_option(room)

def now():
def now(rooms, info, options):
week, day, hour, minute = utils.get_current_time(datetime.datetime.now())
now = Now(week, day, hour, minute)
now.round_it()


Loading…
Cancel
Save