UPdate.
This commit is contained in:
		
							parent
							
								
									8a450e4bfe
								
							
						
					
					
						commit
						cecee2ff35
					
				
							
								
								
									
										
											BIN
										
									
								
								dist/rchat-1.0.0-py3-none-any.whl
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/rchat-1.0.0-py3-none-any.whl
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								dist/rchat-1.0.0.tar.gz
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								dist/rchat-1.0.0.tar.gz
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -33,10 +33,10 @@ class Application(BaseApplication): | ||||
|         ws = web.WebSocketResponse() | ||||
|         await ws.prepare(request) | ||||
|         session = request.session | ||||
|         if not 'username' in session: | ||||
|             session['username'] = fake.name().split(" ")[0] | ||||
|             session['uid'] = str(uuid.uuid4()) | ||||
|             session['session_id'] = session['uid'] | ||||
|         if "username" not in session: | ||||
|             session["username"] = fake.name().split(" ")[0] | ||||
|             session["uid"] = str(uuid.uuid4()) | ||||
|             session["session_id"] = session["uid"] | ||||
| 
 | ||||
|         username = session["username"] | ||||
|         session_id = session["session_id"] | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user