From 8c375383148f100f03aed52827ac513f145078c2 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Wed, 27 Jan 2016 10:12:18 +0100 Subject: code formatting: fix whitespace issues --- libmproxy/console/tabs.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmproxy/console/tabs.py') diff --git a/libmproxy/console/tabs.py b/libmproxy/console/tabs.py index 6893494c..b5423038 100644 --- a/libmproxy/console/tabs.py +++ b/libmproxy/console/tabs.py @@ -2,6 +2,7 @@ import urwid class Tab(urwid.WidgetWrap): + def __init__(self, offset, content, attr, onclick): """ onclick is called on click with the tab offset as argument @@ -20,6 +21,7 @@ class Tab(urwid.WidgetWrap): class Tabs(urwid.WidgetWrap): + def __init__(self, tabs, tab_offset=0): urwid.WidgetWrap.__init__(self, "") self.tab_offset = tab_offset -- cgit v1.2.3