fsavje / math-with-slack

Rendered math (MathJax) with Slack's desktop client
MIT License
433 stars 63 forks source link

ori_injected_file_size #56

Open davisissac opened 4 years ago

davisissac commented 4 years ago

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
thisiscam commented 4 years ago

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?