diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-04-18 22:30:26 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-04-18 22:30:26 -0400 |
| commit | dc547108e1d85c2dd241d329e0858dced90bf92c (patch) | |
| tree | 01d2b1530c426d71a80aac9393cb93f58aafc962 /embroider_print.py | |
| parent | aea5919c63796efd748d724752a86773b79b7c3b (diff) | |
handle firefox's window.close() permission denied
Diffstat (limited to 'embroider_print.py')
| -rw-r--r-- | embroider_print.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embroider_print.py b/embroider_print.py index 0dbff929..cbdaeb09 100644 --- a/embroider_print.py +++ b/embroider_print.py @@ -133,7 +133,7 @@ class PrintPreviewServer(Thread): def shutdown(): self.shutting_down = True request.environ.get('werkzeug.server.shutdown')() - return 'Server shutting down...' + return _('Closing...') + '<br/><br/>' + _('It is safe to close this window now.') @self.app.route('/resources/<path:resource>', methods=['GET']) def resources(resource): |
