fix stpid reload
This commit is contained in:
parent
999dab3a7a
commit
49f9c1a1d7
@ -1,2 +1,2 @@
|
||||
from www import app
|
||||
app.run(debug=True)
|
||||
#app.run(debug=True, use_reloader=False)
|
||||
|
||||
@ -5,6 +5,8 @@ app = Flask(__name__)
|
||||
from www import routes
|
||||
from www import config
|
||||
|
||||
app.run(debug=True, use_reloader=False)
|
||||
|
||||
# import logging
|
||||
# logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
|
||||
@ -10,6 +10,10 @@ class Singleton(type):
|
||||
class Archives(metaclass=Singleton):
|
||||
|
||||
def __init__(self, archives_dir=None):
|
||||
|
||||
|
||||
print("Archives::init")
|
||||
|
||||
if archives_dir==None:
|
||||
from www import config
|
||||
self.archives_dir = config.ARCHIVES_PATH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user