mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-19 18:15:31 +01:00
Fix for #1994
This commit is contained in:
11
lib/pkg_resources.py
Normal file
11
lib/pkg_resources.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# Stub file. Not affiliated with the original 'pkg_resource.py' included in the
|
||||
# 'setuptools' package.
|
||||
|
||||
def iter_entry_points(group, name=None):
|
||||
"""
|
||||
Stub method to make APScheduler happy. This method is only imported in
|
||||
'lib/apscheduler/schedulers/base.py' to autodetect triggers, executors and
|
||||
job stores. Headphones does not use this functionality, so it just returns
|
||||
an iterator of an empty dict.
|
||||
"""
|
||||
return iter(dict())
|
||||
Reference in New Issue
Block a user