From 81130d77e7d005f0c74e584f829dcf9d8bc4146a Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 6 Nov 2014 19:01:25 +0200 Subject: [PATCH 1/2] Default showImperialAndMetric to True I am seeing multiple users wondering about the output being in Fahrenhait and I believe multiple people would be confused if it was showing only Celsius, so it's probably the best to show both by default. --- config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."""))) From 681a1228004339d29f37771ffd51812c5d47cd8d Mon Sep 17 00:00:00 2001 From: GLolol Date: Thu, 6 Nov 2014 10:16:24 -0800 Subject: [PATCH 2/2] __init__.py: Actually load tests on Python 3 --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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