yuripeyamashita commited on
Commit
dcdfd1b
1 Parent(s): 1bb9b5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
  from flask import Flask, request
2
- import os, json, uuid
3
  import requests
4
 
5
  app = Flask(__name__)
@@ -14,7 +14,7 @@ def queue():
14
  if request.json.get('secret') != secret:
15
  return {}, 400
16
 
17
- uuid = str(uuid.uuid4())
18
  res[uuid] = request.json
19
 
20
  print(res[uuid])
 
1
  from flask import Flask, request
2
+ import os, json, uuid.uuid4
3
  import requests
4
 
5
  app = Flask(__name__)
 
14
  if request.json.get('secret') != secret:
15
  return {}, 400
16
 
17
+ uuid = str(uuid4())
18
  res[uuid] = request.json
19
 
20
  print(res[uuid])