diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-19 18:23:23 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-19 18:23:58 +0100 |
commit | f895d4a2f9f073830e760b06ee250c8495006158 (patch) | |
tree | 042b7bcf6d340534b65a296eab6cb120b7110f23 /src/windows.py | |
parent | 158692fa99ad2f5ef33d846ef4a3fed78f6ee56f (diff) | |
download | poezio-f895d4a2f9f073830e760b06ee250c8495006158.tar.gz poezio-f895d4a2f9f073830e760b06ee250c8495006158.tar.bz2 poezio-f895d4a2f9f073830e760b06ee250c8495006158.tar.xz poezio-f895d4a2f9f073830e760b06ee250c8495006158.zip |
Restaure try: except: on derwin
Diffstat (limited to 'src/windows.py')
-rw-r--r-- | src/windows.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/windows.py b/src/windows.py index e77bb18b..b0c9f314 100644 --- a/src/windows.py +++ b/src/windows.py @@ -64,10 +64,10 @@ class Win(object): self.height, self.width = height, width return self.height, self.width, self.x, self.y = height, width, x, y - # try: - self._win = Win._tab_win.derwin(height, width, y, x) - # except: - # log.debug('DEBUG: mvwin returned ERR. Please investigate') + try: + self._win = Win._tab_win.derwin(height, width, y, x) + except: + log.debug('DEBUG: mvwin returned ERR. Please investigate') # If this ever fail, uncomment that ^ |