Revision: 4881 Author: rotem Date: 2008-01-14 11:32:08 +0000 (Mon, 14 Jan 2008)
Log Message: ----------- Some code fixes.
Modified Paths: -------------- trunk/pywikipedia/welcome.py
Modified: trunk/pywikipedia/welcome.py =================================================================== --- trunk/pywikipedia/welcome.py 2008-01-14 07:10:51 UTC (rev 4880) +++ trunk/pywikipedia/welcome.py 2008-01-14 11:32:08 UTC (rev 4881) @@ -743,13 +743,13 @@ continue # Compiling the signature to be used. if random == True: - if number_user + 1> len(signList): + if number_user + 1 > len(signList): number_user = 0 yield number_user if wsite.family.name == "wikipedia" and wsite.lang == "zh": - welcom = welcomer % signList[number_user] + timeselected + '<small>(via ~~~)</small>' + welcom = welcomer % signList[number_user] + timeselected + '<small>(via ~~~)</small>' else: - welcom = welcomer % signList[number_user] + timeselected + welcom = welcomer % signList[number_user] + timeselected else: welcom = welcomer % sign username = str(found_result[0])