Revision: 6951 Author: alexsh Date: 2009-06-11 17:04:18 +0000 (Thu, 11 Jun 2009)
Log Message: ----------- Typo: cannot use double slash in unix...XDrz
Modified Paths: -------------- trunk/pywikipedia/login.py
Modified: trunk/pywikipedia/login.py =================================================================== --- trunk/pywikipedia/login.py 2009-06-11 16:46:35 UTC (rev 6950) +++ trunk/pywikipedia/login.py 2009-06-11 17:04:18 UTC (rev 6951) @@ -224,7 +224,7 @@ ("en", "wikipedia", "my_en_user", "my_en_pass") """ import wikipediatools - file = open("%s\%s" % (wikipediatools.get_base_dir(), config.password_file) ) + file = open("%s/%s" % (wikipediatools.get_base_dir(), config.password_file) ) for line in file: if not line.strip(): continue entry = eval(line)
pywikipedia-svn@lists.wikimedia.org