Skip to content

Commit

Permalink
Drop pretty_cron dependency
Browse files Browse the repository at this point in the history
Related to #474 and #423
  • Loading branch information
rytilahti committed Feb 5, 2019
1 parent 420c1c7 commit 29f4143
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions miio/vacuum_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from typing import Any, List # noqa: F401

import click
import pretty_cron
from appdirs import user_cache_dir
from tqdm import tqdm

Expand Down Expand Up @@ -342,7 +341,7 @@ def timer(ctx, vac: miio.Vacuum):
click.echo(" %s" % timer.cron)
min, hr, x, y, days = timer.cron.split(' ')
cron = "%s %s %s %s %s" % (min, hr, x, y, days)
click.echo(" %s" % pretty_cron.prettify_cron(cron))
click.echo(" %s" % cron)


@timer.command()
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ def readme():
'construct',
'click',
'cryptography',
'pretty_cron',
'zeroconf',
'attrs',
'android_backup',
Expand Down

0 comments on commit 29f4143

Please sign in to comment.