rename paypal to payway
[indico-PayWay] / MaKaC / plugins / EPayment / payWay / webinterface / wcomponents.py
index e0d9cf6..a06195e 100644 (file)
@@ -22,7 +22,7 @@ import os
 import pkg_resources
 import MaKaC.common.Configuration as Configuration
 
-from MaKaC.plugins.EPayment import payPal
+from MaKaC.plugins.EPayment import payWay
 
 class WTemplated(wcomponents.WTemplated):
 
@@ -33,7 +33,7 @@ class WTemplated(wcomponents.WTemplated):
             in the configured TPL directory.
         """
         cfg = Configuration.Config.getInstance()
-        dir = pkg_resources.resource_filename(payPal.__name__, "tpls")
+        dir = pkg_resources.resource_filename(payWay.__name__, "tpls")
         file = cfg.getTPLFile( self.tplId )
         if file == "":
             file = "%s.tpl"%self.tplId