Update platform loading path (#20807)

* Warn when platform loaded from an entity component folder

* Fix tests
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2019-02-07 13:33:12 -08:00
1 parent e0f63132e8
commit 16159cc3d0
5 files changed
+33 -9

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION)
__version__ = '{}.{}'.format(__short_version__, PATCH_VERSION)
REQUIRED_PYTHON_VER = (3, 5, 3)
# Format for platforms
PLATFORM_FORMAT = '{domain}.{platform}'
# Format for platform files
PLATFORM_FORMAT = '{platform}.{domain}'
# Can be used to specify a catch all when registering state or event listeners.
MATCH_ALL = '*'