Show More
@@ -328,10 +328,9 b" def reload(module, exclude=['sys', 'os.path', '__builtin__', '__main__']):" | |||
|
328 | 328 | found_now[i] = 1 |
|
329 | 329 | try: |
|
330 | 330 | with replace_import_hook(deep_import_hook): |
|
331 |
ret |
|
|
331 | return deep_reload_hook(module) | |
|
332 | 332 | finally: |
|
333 | 333 | found_now = {} |
|
334 | return ret | |
|
335 | 334 | |
|
336 | 335 | # Uncomment the following to automatically activate deep reloading whenever |
|
337 | 336 | # this module is imported |
@@ -143,10 +143,9 b' def latex_to_png_dvipng(s, wrap):' | |||
|
143 | 143 | stdout=devnull, stderr=devnull) |
|
144 | 144 | |
|
145 | 145 | with open(outfile, "rb") as f: |
|
146 |
|
|
|
146 | return f.read() | |
|
147 | 147 | finally: |
|
148 | 148 | shutil.rmtree(workdir) |
|
149 | return bin_data | |
|
150 | 149 | |
|
151 | 150 | |
|
152 | 151 | def kpsewhich(filename): |
General Comments 0
You need to be logged in to leave comments.
Login now