Skip to content

fix typo #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CHANGELOG

### [25.7.9] - June 17, 2025
- Fix stupid typo and remember to test things properly before releasing

### [25.7.8] - June 17, 2025
- Replace occurrences of `__init__.py` with `jinjafx_server.py` in error messages

Expand Down Expand Up @@ -463,6 +466,7 @@
- Initial release


[25.7.9]: https://github.com/cmason3/jinjafx_server/compare/25.7.8...25.7.9
[25.7.8]: https://github.com/cmason3/jinjafx_server/compare/25.7.7...25.7.8
[25.7.7]: https://github.com/cmason3/jinjafx_server/compare/25.7.6...25.7.7
[25.7.6]: https://github.com/cmason3/jinjafx_server/compare/25.7.5...25.7.6
Expand Down
11 changes: 5 additions & 6 deletions jinjafx_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import re, argparse, hashlib, traceback, glob, hmac, uuid, struct, binascii, gzip, requests, ctypes, subprocess
import cmarkgfm, emoji

__version__ = '25.7.8'
__version__ = '25.7.9'

llock = threading.RLock()
rlock = threading.RLock()
Expand Down Expand Up @@ -624,7 +624,7 @@ def html_escape(text):

else:
error = jinjafx._format_error(e, 'template code')
error = error.replace('__init.py__:', 'jinjafx_server.py:')
error = error.replace('__init__.py:', 'jinjafx_server.py:')

jsr = {
'status': 'error',
Expand All @@ -634,7 +634,7 @@ def html_escape(text):

except Exception as e:
error = jinjafx._format_error(e, 'template code', '_jinjafx')
error = error.replace('__init.py__:', 'jinjafx_server.py:')
error = error.replace('__init__.py:', 'jinjafx_server.py:')

jsr = {
'status': 'error',
Expand Down Expand Up @@ -1243,9 +1243,8 @@ def signal_handler(*args):


except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
print('error[jinjafx_server.py:' + str(exc_tb.tb_lineno) + ']: ' + str(e), file=sys.stderr)
error = jinjafx._format_error(e)
print(error.replace('__init__.py:', 'jinjafx_server.py:'), file=sys.stderr)
sys.exit(-2)

finally:
Expand Down
Loading