From 230670149f50effc4312333b3bcc61b4449b2a8f Mon Sep 17 00:00:00 2001
From: Alexander Cherniuk <ts33kr@gmail.com>
Date: Sun, 20 Jun 2010 12:56:10 +0300
Subject: [PATCH] Fix the fix for checking translated string

---
 src/config.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/config.py b/src/config.py
index a21b3e0bbe..56266a07c5 100644
--- a/src/config.py
+++ b/src/config.py
@@ -459,11 +459,11 @@ class PreferencesWindow:
             create_av_combobox('video_framerate', {_('Default'): '',
                 '15fps': '15/1', '10fps': '10/1', '5fps': '5/1',
                 '2.5fps': '5/2'}, 'video_framerate', key=lambda x: -1 if \
-                x[1] == '' else float(x[0][:-3]))
+                not x[1] else float(x[0][:-3]))
             create_av_combobox('video_size', {_('Default'): '',
                 '800x600': '800x600', '640x480': '640x480',
                 '320x240': '320x240'}, 'video_size', key=lambda x: -1 if \
-                x[1] == '' else int(x[0][:3]))
+                not x[1] else int(x[0][:3]))
 
         else:
             for opt_name in ('audio_input', 'audio_output', 'video_input',
-- 
GitLab