Browse Source

Change remove redundant py26 version check.

pull/1289/head
JackDandy 5 years ago
parent
commit
90e9cdac0b
  1. 1
      CHANGES.md
  2. 6
      sickgear.py

1
CHANGES.md

@ -117,6 +117,7 @@
* Change Kodi show nfo remove tags 'episodeguideurl', 'indexer', and 'year' as deprecated * Change Kodi show nfo remove tags 'episodeguideurl', 'indexer', and 'year' as deprecated
* Change Kodi show nfo remove tags 'id' * Change Kodi show nfo remove tags 'id'
* Change output non valid xml that Kodi will accept * Change output non valid xml that Kodi will accept
* Change remove redundant py26 version check
[develop changelog] [develop changelog]

6
sickgear.py

@ -78,9 +78,8 @@ except (BaseException, Exception):
if 'win32' == sys.platform: if 'win32' == sys.platform:
codecs.register(lambda name: codecs.lookup('utf-8') if name == 'cp65001' else None) codecs.register(lambda name: codecs.lookup('utf-8') if name == 'cp65001' else None)
# We only need this for compiling an EXE and I will just always do that on 2.6+ # We only need this for compiling an EXE
if 0x020600F0 <= sys.hexversion: from multiprocessing import freeze_support
from multiprocessing import freeze_support
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib'))) sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))
@ -701,7 +700,6 @@ class SickGear(object):
if '__main__' == __name__: if '__main__' == __name__:
if 0x020600F0 <= sys.hexversion:
freeze_support() freeze_support()
try: try:
try: try:

Loading…
Cancel
Save