From 5128c90b3c54546fd840d0efae1624ad69557a53 Mon Sep 17 00:00:00 2001 From: drebs Date: Tue, 27 Sep 2016 22:11:39 -0300 Subject: [bug] use correct twisted log api for warnings --- src/leap/bitmask/core/_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/leap/bitmask/core') diff --git a/src/leap/bitmask/core/_web.py b/src/leap/bitmask/core/_web.py index ce30a40a..1798e7f6 100644 --- a/src/leap/bitmask/core/_web.py +++ b/src/leap/bitmask/core/_web.py @@ -59,7 +59,7 @@ class HTTPDispatcherService(service.Service): pkg_resources.resource_filename('leap.bitmask_js', 'public')) log.debug('webdir: %s' % webdir) else: - log.warning('bitmask_js not found, serving bitmask.core ui') + log.warn('bitmask_js not found, serving bitmask.core ui') webdir = os.path.abspath( pkg_resources.resource_filename('leap.bitmask.core', 'web')) root = File(webdir) -- cgit v1.2.3