if no value set return a default of 10M

This commit is contained in:
faush01 2015-03-14 14:09:36 +11:00
parent 0eacb876c7
commit 9f0d02c03a

View file

@ -145,7 +145,9 @@ class PlayUtils():
return '100000' return '100000'
elif (videoQuality == "18"): elif (videoQuality == "18"):
return '1000000' return '1000000'
else:
return '10000000'
def fileExists(self, result): def fileExists(self, result):
path=result.get("Path").encode('utf-8') path=result.get("Path").encode('utf-8')
if os.path.exists(path) == True: if os.path.exists(path) == True: