fsavje/math-with-slack

ori_injected_file_size

Opened this issue · 1 comments

I get this error while running sudo python math-with-slack.py

Using Slack installation at: /usr/lib/slack/resources/app.asar
Traceback (most recent call last):
  File "math-with-slack.py", line 335, in <module>
    mathjax_json_header, append_file_paths = dir_to_json_header(mathjax_dir, ori_data_size + ori_injected_file_size + len(inject_code))
NameError: name 'ori_injected_file_size' is not defined

Not sure if this is an issue that should be sent to https://github.com/thisiscam/math-with-slack. But I have just fixed it there, so you may give it a try?