module "re" not loaded
When starting Gajim with the plugin enabled, I get the following error message in the terminal (so, I suppose, something like "import re" is missing):
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/share/gajim/src/gui_interface.py", line 3164, in thread_function
output = func(*func_args)
File "/home/xxx/.local/share/gajim/plugins/url_image_preview/http_functions.py", line 31, in get_http_head
return _get_http_head_proxy(url, proxy)
File "/home/xxx/.local/share/gajim/plugins/url_image_preview/http_functions.py", line 110, in _get_http_head_proxy
searchObj = re.search(r'^Content-Type: (.*)$', headers, re.M | re.I)
NameError: global name 're' is not defined