gjcarneiro / yacron

A modern Cron replacement that is Docker-friendly
MIT License
449 stars 38 forks source link

TypeError: main() missing 1 required positional argument: 'loop' #7

Closed bofm closed 6 years ago

bofm commented 6 years ago

Description

yacron executable is not working.

What I Did

$ pip install yacron
...
$ yacron -c /etc/crontab
Traceback (most recent call last):
  File "/usr/local/bin/yacron", line 11, in <module>
    sys.exit(main())
TypeError: main() missing 1 required positional argument: 'loop'
gjcarneiro commented 6 years ago

Wow, that's embarrassing, some refactoring I did for unit tests broke main. Fixing...

gjcarneiro commented 6 years ago

Pushed a new release, yacron 0.4.2, that fixes this issue.