yangtb24 commited on
Commit
186320d
·
verified ·
1 Parent(s): 44a54d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -3,13 +3,15 @@ import time
3
  import logging
4
  import requests
5
  import json
6
- import uuid
7
  import concurrent.futures
8
  import threading
9
  from datetime import datetime, timedelta
10
  from apscheduler.schedulers.background import BackgroundScheduler
11
  from flask import Flask, request, jsonify, Response, stream_with_context
12
 
 
 
 
13
  logging.basicConfig(level=logging.INFO,
14
  format='%(asctime)s - %(levelname)s - %(message)s')
15
 
 
3
  import logging
4
  import requests
5
  import json
 
6
  import concurrent.futures
7
  import threading
8
  from datetime import datetime, timedelta
9
  from apscheduler.schedulers.background import BackgroundScheduler
10
  from flask import Flask, request, jsonify, Response, stream_with_context
11
 
12
+ os.environ['TZ'] = 'Asia/Shanghai'
13
+ time.tzset()
14
+
15
  logging.basicConfig(level=logging.INFO,
16
  format='%(asctime)s - %(levelname)s - %(message)s')
17