Commits

Anonymous committed 6e42ce9

use % instead of + for string building

Comments (0)

Files changed (1)

chatbot_gtalk_setup.py

     rpta = 0
     try:
         cache = open(
-            chatbotini.CACHEDIR + str(email) + "_1.txt", "r")
+            "%s%s_1.txt" % (chatbotini.CACHEDIR, str(email)) , "r")
         frace = cache.read()
 
     except IOError: