mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Fixed typo message -> messages
This commit is contained in:
5
installer
vendored
5
installer
vendored
@@ -141,8 +141,7 @@ class SystemInstaller:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def make_nginx_config(self, answers):
|
def make_nginx_config(self, answers):
|
||||||
root = os.path.abspath(".")
|
root = os.path.abspath(".") _fp = "pyshelf_nginx.conf"
|
||||||
_fp = "pyshelf_nginx.conf"
|
|
||||||
for r in answers:
|
for r in answers:
|
||||||
if r["name"] == "hostname":
|
if r["name"] == "hostname":
|
||||||
hostname = r["answer"]
|
hostname = r["answer"]
|
||||||
@@ -334,7 +333,7 @@ except Exception as e:
|
|||||||
messages = messages + ["nginx site config not copied",
|
messages = messages + ["nginx site config not copied",
|
||||||
"you are responsible for setting up your web server"]
|
"you are responsible for setting up your web server"]
|
||||||
sysinstall.make_wsgi_config(install_answers)
|
sysinstall.make_wsgi_config(install_answers)
|
||||||
message = message + ["You should now import your books by running importBooks", "You can then start the interface with uwsgi --ini uwsgi.ini"]
|
messages = messages + ["You should now import your books by running importBooks", "You can then start the interface with uwsgi --ini uwsgi.ini"]
|
||||||
|
|
||||||
# Display end screen
|
# Display end screen
|
||||||
sysinstall.log()
|
sysinstall.log()
|
||||||
|
|||||||
Reference in New Issue
Block a user