Commit graph

11 commits

Author SHA1 Message Date
JackDandy
e9653feaa8 Merge branch 'main' into dev 2024-03-24 20:39:53 +00:00
Prinz23
afa9aae744 Change enable legacy double quote support for SQLite when using Python 3.12+ 2024-03-24 20:35:38 +00:00
Prinz23
aeb3f7b0dc use context manager for scandir as recommended since python 3.6 2023-10-31 17:30:58 +01:00
Prinz23
5c6e911896 sqlite3.connect positional args are deprecated for more then 1 parameter and will be removed in 3.15
https://docs.python.org/dev/whatsnew/3.13.html#deprecated
2023-10-22 01:53:18 +02:00
JackDandy
fb6ef08f01 Change remove redundant py2 import futures. 2023-04-27 12:53:49 +01:00
JackDandy
19f0a951e5 Refactor timestamp_near to SGDatetime.timestamp_near. 2023-03-08 17:36:24 +00:00
JackDandy
ae4173e8c0 Change py2 unicode into f-strings or simple strings where appropriate.
Change use specific logger functions for debug, warning, error.
2023-03-08 14:22:40 +00:00
JackDandy
ec874504de Change rename db variables/functions. 2023-02-24 15:19:46 +00:00
Prinz23
8ddffb7882 Change py2 deprecation cleanups.
Remove py2 part from _23.py
Remove more mapped stuff.
Replace filter_iter with native filter.
Replace map_iter with native map.
Remove unidecode from _23 (empty wrapper on py3).
Remove map_list and replace with native list(map( for performance reasons.
Replace filter_list with list(filter.
Replace list_keys with list(.
Replace list_values with list(...values()).
Replace list_items with list(....items()).
Replace ordered_dict with dict.
Fix tvinfo base type docs.
Remove py2 parts from sg_futures.
Remove scandir lib ...  it's a sub module of os in py3.
Remove PY2 stuff.
Ignore unknown ids for characters/persons.
Fix tvdb image parsing.
Ignore unknown id sources on person page.
2023-02-21 01:01:04 +00:00
JackDandy
2779c60f42 Change remove calls to legacy py2 fix encoding function.
Change various code cleanups, e.g. replace CamelCase with pythonic casing.
2023-02-10 21:40:19 +00:00
SickGear
e56303798c Change bump to major version 3.xx to signal that this branch supports Python3+ only.
Initial SickGear for Python 3.
2023-02-09 13:41:15 +00:00