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
1 changed files with 3 additions and 1 deletions

View File

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