Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-12-21 14:46:57 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-12-21 14:46:57 (GMT)
commit67f4fe50bef0cf9b5077cfe7fd492ae7ecf6a7e4 (patch)
tree52155bef84f59249f7c968a88aba8c9d9f580b08
parentb6601a9dc84a047b1c7122f03164c84c2f94d1a7 (diff)
Add copyright info and fix a syntax error in a conditional.
-rw-r--r--GNUChessActivity.py3
1 files changed, 2 insertions, 1 deletions
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 <lionaneesh@gmail.com>
# 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))