jfinn il y a 4 jours
Parent
révision
0668a1a399
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3
    2
      wsps/views.py

+ 3
- 2
wsps/views.py Voir le fichier

@@ -74,9 +74,10 @@ class CreatePostView(CreateView):  # new
74 74
 
75 75
 
76 76
 def fn_vpx(request,*a,**kw):
77
-
77
+	fnx = gmod.glob.get("fnx")
78 78
 	if (gmod.glob.get("fnx")):
79
-		gmod.glob.fnx(request)
79
+	if (fnx):
80
+		fnx(request)
80 81
 
81 82
 	p("\n")
82 83
 	p("fn_vpx:",request,"\n",a,kw)

Chargement…
Annuler
Enregistrer