Compare commits
No commits in common. "99152733ce4f29605a15ce03ce900aedf08572af" and "2c9ebaa1ccb168ac7b8729046cc78c8c393c7012" have entirely different histories.
99152733ce
...
2c9ebaa1cc
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
||||
**/*.env
|
||||
**/demos
|
||||
|
@ -33,8 +33,8 @@ class PassQueue:
|
||||
|
||||
try:
|
||||
c.execute("BEGIN")
|
||||
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}, '{time.strftime('%Y-%m-%d %H:%M:%S')}', false)")
|
||||
c.execute(f"INSERT INTO public.pass (uuid, movie_uuid, user_first, user_last, user_email, pass_type, pass_price)"
|
||||
f"VALUES ('{uuid.uuid4().hex}', '{p.movie_uuid}', '{p.first}', '{p.last}', '{p.email}', {p.type}, {p.price})")
|
||||
c.execute("COMMIT")
|
||||
db.commit()
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user