Browse Source

Change remove redundant py26 version check.

pull/1289/head
JackDandy 5 years ago
parent
commit
90e9cdac0b
  1. 1
      CHANGES.md
  2. 8
      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 'id'
* Change output non valid xml that Kodi will accept
* Change remove redundant py26 version check
[develop changelog]

8
sickgear.py

@ -78,9 +78,8 @@ except (BaseException, Exception):
if 'win32' == sys.platform:
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+
if 0x020600F0 <= sys.hexversion:
from multiprocessing import freeze_support
# We only need this for compiling an EXE
from multiprocessing import freeze_support
sys.path.insert(1, os.path.abspath(os.path.join(os.path.dirname(__file__), 'lib')))
@ -701,8 +700,7 @@ class SickGear(object):
if '__main__' == __name__:
if 0x020600F0 <= sys.hexversion:
freeze_support()
freeze_support()
try:
try:
# start SickGear

Loading…
Cancel
Save