M4d40/nestwatcher

-t or --hours Argument Not Working As Intended

Opened this issue · 1 comments

Hi There,

When using the -t or --hours Command line argument, it defaults to 3 hours no matter the number you put in.

  python3 nests.py --hours 7
  Last migration: 2022-07-21 02:00:00
  Overwriting hours since change with 3

  python3 nests.py --hours 5
  Last migration: 2022-07-21 02:00:00
  Overwriting hours since change with 3

I have that 3 note too but -t works fine for me. Just check the numbers when you do -h 1 or -h 4 - with the latter average nesting number will have fractions