Update plist.py, downloader.py from pymodules

This commit is contained in:
CorpNewt 2020-10-04 17:33:54 -05:00
parent 17ccaf862e
commit 620061df63

View file

@ -28,6 +28,10 @@ except AttributeError:
# Helper Methods #
### ###
def get_data(value):
if sys.version_info < (3,0): return plistlib.Data(value)
return value
def _check_py3():
return sys.version_info >= (3, 0)