Little silly fixes in text

This commit is contained in:
Antonio de la Rosa 2016-03-14 14:32:11 +01:00
parent 27b1dc5386
commit 348b506755
5 changed files with 41 additions and 9 deletions

View file

@ -19,11 +19,15 @@ class GetPostFiles:
GetPostFiles.get=request.query.decode()
@staticmethod
def obtain_post():
def obtain_post(required_post=[]):
GetPostFiles.post={}
GetPostFiles.post=request.forms.decode()
for post in required_post:
GetPostFiles.post[post]=GetPostFiles.post.get(post, '')
@staticmethod
def obtain_files():