mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-04-25 20:41:19 -05:00
NuWeather: import 'plugin' separately
PluginDownloader has some buggy heuristics that cause it to run 2to3 when it isn't needed. This is fixed upstream in https://github.com/progval/Limnoria/pull/1509
This commit is contained in:
parent
2bd13fa068
commit
750b1ddaf6
@ -54,7 +54,9 @@ __contributors__ = {}
|
||||
# This is a url where the most recent plugin package can be downloaded.
|
||||
__url__ = 'https://github.com/jlu5/SupyPlugins/tree/master/NuWeather'
|
||||
|
||||
from . import config, formatter, plugin, request_cache
|
||||
from . import config, formatter, request_cache
|
||||
# plugin is imported separately because plugindownloader before 2022-06-23 has buggy heuristics for running 2to3
|
||||
from . import plugin
|
||||
from importlib import reload
|
||||
# In case we're being reloaded.
|
||||
reload(config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user