remove .DS_Store
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
*/.env
|
*/.env
|
||||||
*.pyc
|
*.pyc
|
||||||
|
.DS_Store
|
||||||
|
BIN
docker-compose/.DS_Store
vendored
BIN
docker-compose/.DS_Store
vendored
Binary file not shown.
BIN
docker-compose/requirements/.DS_Store
vendored
BIN
docker-compose/requirements/.DS_Store
vendored
Binary file not shown.
BIN
docker-compose/requirements/djangoserver/.DS_Store
vendored
BIN
docker-compose/requirements/djangoserver/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -6,7 +6,7 @@
|
|||||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2024/08/04 13:44:11 by edbernar #+# #+# #
|
# Created: 2024/08/04 13:44:11 by edbernar #+# #+# #
|
||||||
# Updated: 2024/08/26 00:37:41 by edbernar ### ########.fr #
|
# Updated: 2024/08/27 17:09:39 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -27,6 +27,8 @@ def sendPrivateMessage(socket, content):
|
|||||||
socket.sendError("User not found", 9008)
|
socket.sendError("User not found", 9008)
|
||||||
return;
|
return;
|
||||||
user = User.objects.filter(id=socket.scope["session"]["id"])
|
user = User.objects.filter(id=socket.scope["session"]["id"])
|
||||||
|
if(int(content["to"]) == user[0].id):
|
||||||
|
socket.sendError("Invalid message sent", 9009)
|
||||||
new_msg = Message.objects.create(sender=user[0], to=dest[0], content=content["content"])
|
new_msg = Message.objects.create(sender=user[0], to=dest[0], content=content["content"])
|
||||||
new_msg.save()
|
new_msg.save()
|
||||||
jsonVar = {"type": "new_private_message", "content": {
|
jsonVar = {"type": "new_private_message", "content": {
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docker-compose/requirements/nginx/.DS_Store
vendored
BIN
docker-compose/requirements/nginx/.DS_Store
vendored
Binary file not shown.
BIN
docker-compose/requirements/nginx/static/.DS_Store
vendored
BIN
docker-compose/requirements/nginx/static/.DS_Store
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
site/.DS_Store
vendored
BIN
site/.DS_Store
vendored
Binary file not shown.
BIN
site/real_game/.DS_Store
vendored
BIN
site/real_game/.DS_Store
vendored
Binary file not shown.
BIN
site/real_game/class/.DS_Store
vendored
BIN
site/real_game/class/.DS_Store
vendored
Binary file not shown.
BIN
site/real_game/textures/.DS_Store
vendored
BIN
site/real_game/textures/.DS_Store
vendored
Binary file not shown.
Reference in New Issue
Block a user