-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
time data does not match format #381
Comments
so at least on my machine, line 207 of eventlistener.py needs to become:
|
sorry i'm too much of a python noob to know how to run your tests to make a proper git commit here. i just know changing that line makes it work for me. my guess is, looking at the format that was failing, that for whatever reason my device is not providing milliseconds (thus no .%f at the end of the strptime format). You could check for that using a regex and then run the right one, or put this first one in a try and then run the second in a catch (or whatever the equivalent is in python). in any case, thanks for this library! once i fixed that line, it's working great for me to listen for events and then trigger a recording with a different security camera via ZoneMinder. |
from running the
listen
command, on every event i get on the command line:The text was updated successfully, but these errors were encountered: