mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-09-20 01:30:33 +00:00
Update plist.py, downloader.py from pymodules
This commit is contained in:
parent
17ccaf862e
commit
620061df63
1 changed files with 6 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue