Skip to content
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

'datetime' error when using a year search filter #10

Closed
wildsavage opened this issue Feb 11, 2021 · 1 comment · Fixed by #14
Closed

'datetime' error when using a year search filter #10

wildsavage opened this issue Feb 11, 2021 · 1 comment · Fixed by #14
Assignees
Labels
bug Bug is with Plex Meta Manager

Comments

@wildsavage
Copy link

I get the following error when trying to use the year search function with plex_search

| Unknown Error: name 'datetime' is not defined

[2021-02-10 03:27:07,391] [util.py:575] [DEBUG] | Traceback (most recent call last): |
| File "/modules/config.py", line 572, in update_libraries
| elif method_name in ["year", "year.not"]: methods.append(("plex_search", [[(method_name, util.get_year_list(collections[c][m], method_name))]]))
| File "/modules/util.py", line 491, in get_year_list
| current_year = datetime.datetime.now().year
| NameError: name 'datetime' is not defined
|
[2021-02-10 03:27:07,391] [config.py:1029] [ERROR] | Unknown Error: name 'datetime' is not defined

@meisnate12 meisnate12 self-assigned this Feb 11, 2021
@meisnate12 meisnate12 added the bug Bug is with Plex Meta Manager label Feb 11, 2021
meisnate12 added a commit that referenced this issue Feb 11, 2021
@meisnate12
Copy link
Member

added a fix in the develop branch it will be in the next release

@meisnate12 meisnate12 mentioned this issue Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug is with Plex Meta Manager
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants