Few minor text fixes.
This commit is contained in:
parent
55f7da7bb2
commit
0b5f736574
3 changed files with 4 additions and 4 deletions
|
@ -139,7 +139,7 @@ class WrongLogin(EtiquetteException):
|
||||||
# GENERAL ERRORS
|
# GENERAL ERRORS
|
||||||
OUTOFDATE = '''
|
OUTOFDATE = '''
|
||||||
Database is out of date. {current} should be {new}.
|
Database is out of date. {current} should be {new}.
|
||||||
Please use utilities\\etiquette_upgrader.py
|
Please use utilities\\database_upgrader.py
|
||||||
'''.strip()
|
'''.strip()
|
||||||
class DatabaseOutOfDate(EtiquetteException):
|
class DatabaseOutOfDate(EtiquetteException):
|
||||||
'''
|
'''
|
||||||
|
|
|
@ -306,7 +306,7 @@ def remove_characters(text, characters):
|
||||||
|
|
||||||
def remove_control_characters(text):
|
def remove_control_characters(text):
|
||||||
'''
|
'''
|
||||||
Alex Quinn
|
Thanks Alex Quinn
|
||||||
https://stackoverflow.com/a/19016117
|
https://stackoverflow.com/a/19016117
|
||||||
|
|
||||||
unicodedata.category(character) returns some two-character string
|
unicodedata.category(character) returns some two-character string
|
||||||
|
|
|
@ -21,8 +21,8 @@ if port == 443:
|
||||||
http = gevent.pywsgi.WSGIServer(
|
http = gevent.pywsgi.WSGIServer(
|
||||||
listener=('0.0.0.0', port),
|
listener=('0.0.0.0', port),
|
||||||
application=etiquette_flask.site,
|
application=etiquette_flask.site,
|
||||||
keyfile='C:\\git\\etiquette\\etiquette\\https\\etiquette.key',
|
keyfile='D:\\git\\etiquette\\frontends\\etiquette_flask\\https\\etiquette.key',
|
||||||
certfile='C:\\git\\etiquette\\etiquette\\https\\etiquette.crt',
|
certfile='D:\\git\\etiquette\\frontends\\etiquette_flask\\https\\etiquette.crt',
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
http = gevent.pywsgi.WSGIServer(
|
http = gevent.pywsgi.WSGIServer(
|
||||||
|
|
Loading…
Reference in a new issue