mail[Wesnoth-commits] r20041 - /trunk/utils/campaigns_client.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Soliton on September 01, 2007 - 19:26:
Author: soliton
Date: Sat Sep  1 19:26:08 2007
New Revision: 20041

URL: http://svn.gna.org/viewcvs/wesnoth?rev=20041&view=rev
Log:
fix small logic error

Modified:
    trunk/utils/campaigns_client.py

Modified: trunk/utils/campaigns_client.py
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/campaigns_client.py?rev=20041&r1=20040&r2=20041&view=diff
==============================================================================
--- trunk/utils/campaigns_client.py (original)
+++ trunk/utils/campaigns_client.py Sat Sep  1 19:26:08 2007
@@ -174,8 +174,8 @@
             info = os.path.join(options.campaigns_dir, name, "info.cfg")
             local_uploads, local_version = get_info(info)
             if uploads != local_uploads:
-                # The uploads < local_uploads likely means a server reset
-                if version != local_version or uploads < local_uploads:
+                # The uploads > local_uploads likely means a server reset
+                if version != local_version or uploads > local_uploads:
                     get(name, version, uploads, options.campaigns_dir)
                 else:
                     print "Not downloading", name,\




Related Messages


Powered by MHonArc, Updated Sat Sep 01 21:20:11 2007