mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-15 03:08:52 +01:00
Making package script python 3+ friendly
This commit is contained in:
parent
c7beb3f200
commit
fc89edc858
@ -40,13 +40,13 @@ gstreamer_path = None
|
|||||||
# windows needs a gstreamer path set
|
# windows needs a gstreamer path set
|
||||||
if args.os == 'windows':
|
if args.os == 'windows':
|
||||||
if not hasattr(args, 'gstreamer_path'):
|
if not hasattr(args, 'gstreamer_path'):
|
||||||
print 'missing argument --gstreamer_path '
|
print('missing argument --gstreamer_path')
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
gstreamer_path = args.gstreamer_path
|
gstreamer_path = args.gstreamer_path
|
||||||
|
|
||||||
if not os.path.exists(gstreamer_path):
|
if not os.path.exists(gstreamer_path):
|
||||||
print 'could not find gstreamer libraries: ' + gstreamer_path
|
print('could not find gstreamer libraries: ' + gstreamer_path)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user