diff --git a/__init__.py b/__init__.py index bbc8297..8f999a8 100644 --- a/__init__.py +++ b/__init__.py @@ -36,7 +36,7 @@ reload(plugin) # reloaded when this plugin is reloaded. Don't forget to import them as well! if world.testing: - import test + from . import test Class = plugin.Class configure = config.configure diff --git a/config.py b/config.py index df69ec8..df40c0a 100644 --- a/config.py +++ b/config.py @@ -30,7 +30,7 @@ conf.registerGlobalValue(Weather,'astronomy', registry.Boolean(False, ("""Displa conf.registerGlobalValue(Weather,'showPressure', registry.Boolean(False, ("""Show pressure in output?"""))) conf.registerGlobalValue(Weather,'showWind', registry.Boolean(False, ("""Show wind in output?"""))) conf.registerGlobalValue(Weather,'showUpdated', registry.Boolean(False, ("""Show updated in output?"""))) -conf.registerChannelValue(Weather,'showImperialAndMetric', registry.Boolean(False, ("""In channel, display output with Imperial and Metric?"""))) +conf.registerChannelValue(Weather,'showImperialAndMetric', registry.Boolean(True, ("""In channel, display output with Imperial and Metric?"""))) conf.registerGlobalValue(Weather,'lang', registry.String('EN', ("""language to use. See docs for available codes.""")))