Compare commits
	
		
			2 Commits
		
	
	
		
			2c9ebaa1cc
			...
			99152733ce
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 99152733ce | |||
| be287c9a0b | 
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1,2 @@ | |||||||
| **/*.env | **/*.env | ||||||
|  | **/demos | ||||||
|  | |||||||
| @ -33,8 +33,8 @@ class PassQueue: | |||||||
| 
 | 
 | ||||||
|             try: |             try: | ||||||
|                 c.execute("BEGIN") |                 c.execute("BEGIN") | ||||||
|                 c.execute(f"INSERT INTO public.pass (uuid, movie_uuid, user_first, user_last, user_email, pass_type, pass_price)" |                 c.execute(f"INSERT INTO public.pass (uuid, movie_uuid, user_first, user_last, user_email, pass_type, pass_price, pass_requested_at, payment_received)" | ||||||
|                           f"VALUES ('{uuid.uuid4().hex}', '{p.movie_uuid}', '{p.first}', '{p.last}', '{p.email}', {p.type}, {p.price})") |                           f"VALUES ('{uuid.uuid4().hex}', '{p.movie_uuid}', '{p.first}', '{p.last}', '{p.email}', {p.type}, {p.price}, '{time.strftime('%Y-%m-%d %H:%M:%S')}', false)") | ||||||
|                 c.execute("COMMIT") |                 c.execute("COMMIT") | ||||||
|                 db.commit() |                 db.commit() | ||||||
|             except Exception as e: |             except Exception as e: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user