From 67f4fe50bef0cf9b5077cfe7fd492ae7ecf6a7e4 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Fri, 21 Dec 2012 14:46:57 +0000 Subject: Add copyright info and fix a syntax error in a conditional. --- diff --git a/GNUChessActivity.py b/GNUChessActivity.py index 9f313f8..9d54e0e 100644 --- a/GNUChessActivity.py +++ b/GNUChessActivity.py @@ -1,5 +1,6 @@ #Copyright (c) 2012 Walter Bender #Copyright (c) 2012 Ignacio Rodriguez +#Copyright (c) 2012 Aneesh Dogra # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -403,7 +404,7 @@ class GNUChessActivity(activity.Activity): def save_time(self, widget): # If time_interval is invalid and we really need to change it if self.time_interval == None: - if self.timer.get_text().isdigit() and + if self.timer.get_text().isdigit() and \ (int(self.timer.get_text()) >= 1): a = self.timer.get_text() self.time_interval = copy.copy(int(a)) -- cgit v0.9.1