mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
add subliminal for subtitle download. #253
This commit is contained in:
parent
47289c903a
commit
c3889c01b1
149 changed files with 34173 additions and 33 deletions
13
libs/enzyme/compat.py
Normal file
13
libs/enzyme/compat.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
|
||||
|
||||
_ver = sys.version_info
|
||||
is_py3 = _ver[0] == 3
|
||||
is_py2 = _ver[0] == 2
|
||||
|
||||
|
||||
if is_py2:
|
||||
bytes = lambda x: chr(x[0]) # @ReservedAssignment
|
||||
elif is_py3:
|
||||
bytes = bytes # @ReservedAssignment
|
Loading…
Add table
Add a link
Reference in a new issue