mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
p3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
from django.shortcuts import render,redirect
|
||||
from django.http import HttpResponse
|
||||
@@ -31,7 +31,7 @@ def modifyWebsite(request):
|
||||
userID = request.session['userID']
|
||||
wm = WebsiteManager()
|
||||
return wm.modifyWebsite(request, userID)
|
||||
except BaseException, msg:
|
||||
except BaseException as msg:
|
||||
return HttpResponse(str(msg))
|
||||
|
||||
except KeyError:
|
||||
|
||||
Reference in New Issue
Block a user