summaryrefslogtreecommitdiff
path: root/poezio/size_manager.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-07-07 19:51:53 +0200
committermathieui <mathieui@mathieui.net>2016-07-07 19:51:53 +0200
commitdae641412ebebdf7fd7364f07a577688a375715d (patch)
tree507318f8689689e546fbe17c7c8ede53d29767fa /poezio/size_manager.py
parent3dcb04992dd6eb3f76f9d449ae7118da2c572d08 (diff)
downloadpoezio-dae641412ebebdf7fd7364f07a577688a375715d.tar.gz
poezio-dae641412ebebdf7fd7364f07a577688a375715d.tar.bz2
poezio-dae641412ebebdf7fd7364f07a577688a375715d.tar.xz
poezio-dae641412ebebdf7fd7364f07a577688a375715d.zip
Fix a circular import introduced in 409b1513
It breaks python 3.4 which is touchy about them, https://bugs.python.org/issue17636
Diffstat (limited to 'poezio/size_manager.py')
-rw-r--r--poezio/size_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/size_manager.py b/poezio/size_manager.py
index a573e176..7e445042 100644
--- a/poezio/size_manager.py
+++ b/poezio/size_manager.py
@@ -20,12 +20,12 @@ class SizeManager(object):
@property
def tab_degrade_x(self):
- _, x = windows.TAB_WIN.getmaxyx()
+ _, x = windows.base_wins.TAB_WIN.getmaxyx()
return x < THRESHOLD_WIDTH_DEGRADE
@property
def tab_degrade_y(self):
- y, x = windows.TAB_WIN.getmaxyx()
+ y, x = windows.base_wins.TAB_WIN.getmaxyx()
return y < THRESHOLD_HEIGHT_DEGRADE
@property