Commits

asypost committed a647c25

typo

  • Participants
  • Parent commits 0bed72c

Comments (0)

Files changed (2)

         if dialog.open(auhorize_url,code_url)==Gtk.ResponseType.ACCEPT:
             #self.weibo_view.open("weibo://get_access_token?code="+(dialog.code if dialog.code else ""))
             code=dialog.code if dialog.code else ""
-            self.weibo_view.execute_script("{0}('{1}'')".format(callback,code))
+            self.weibo_view.execute_script("{0}('{1}');".format(callback,code))
         dialog.destroy()
         Gdk.threads_leave()
 
         if dialog.open(auhorize_url,code_url)==gtk.RESPONSE_ACCEPT:
             #self.weibo_view.open("weibo://get_access_token?code="+(dialog.code if dialog.code else ""))
             code=dialog.code if dialog.code else ""
-            self.weibo_view.execute_script("{0}('{1}'')".format(callback,code))
+            self.weibo_view.execute_script("{0}('{1}');".format(callback,code))
         dialog.destroy()
         gtk.threads_leave()