1. Alfonso de la Guarda Reyes
  2. sboty

Commits

Nicolas Valcárcel Scerpella  committed 6e42ce9

use % instead of + for string building

  • Participants
  • Parent commits 2070ddc
  • Branches master

Comments (0)

Files changed (1)

File chatbot_gtalk_setup.py

View file
     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: