Check-in [bb7e73cafb]
Overview
Comment: | File reading in plugin_meta(): convert Py3 bytes to string. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
bb7e73cafbe52618aac43e2b75bf142c |
User & Date: | mario on 2015-04-05 18:22:27 |
Other Links: | manifest | tags |
Context
2015-04-05
| ||
18:23 | Change version number in plugin settings from orange to gray. check-in: 0a4c981f66 user: mario tags: trunk | |
18:22 | File reading in plugin_meta(): convert Py3 bytes to string. check-in: bb7e73cafb user: mario tags: trunk | |
16:15 | Fixed some help page typos, added streamedit description, and some screenshots for the configuration window. check-in: ec3a49e365 user: mario tags: trunk | |
Changes
Makefile became executable with contents [cf2c20dc2e].
︙ | ︙ |
Modified config.py from [51ce82a04c] to [f2de7a5aec].
︙ | ︙ | |||
308 309 310 311 312 313 314 | elif fn: intfn = "" while fn and len(fn) and not os.path.exists(fn): fn, add = os.path.split(fn) intfn = add + "/" + intfn if len(fn) >= 3 and intfn and zipfile.is_zipfile(fn): src = zipfile.ZipFile(fn, "r").read(intfn.strip("/")) | | > > > > > | | 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 | elif fn: intfn = "" while fn and len(fn) and not os.path.exists(fn): fn, add = os.path.split(fn) intfn = add + "/" + intfn if len(fn) >= 3 and intfn and zipfile.is_zipfile(fn): src = zipfile.ZipFile(fn, "r").read(intfn.strip("/")) if not src: src = "" if type(src) is not str: src = src.decode("utf-8") return plugin_meta_extract(src, fn) # Actual comment extraction logic def plugin_meta_extract(src="", fn=None, literal=False): # defaults meta = { |
︙ | ︙ |