# HG changeset patch # User Daniel O'Connor # Date 1250755514 -34200 # Node ID 34471d354603096c75545d956aab81012875b6d4 # Parent 6edc508e0775868904983ae62662386f85c57845 Use os.path.join to construct the output filename, hopefully more portable. diff -r 6edc508e0775 -r 34471d354603 iviewget.py --- a/iviewget.py Thu Aug 20 17:34:50 2009 +0930 +++ b/iviewget.py Thu Aug 20 17:35:14 2009 +0930 @@ -42,7 +42,7 @@ cmd = [flvstreamerpath] if outfile == None: - outfile = outpath + '/' + series.asset.replace('/', '-') + '.' + outext + outfile = os.path.join(outpath, series.asset.replace('/', '-') + '.' + outext) cmd += iview.genFetchCmd(series, outfile) p = subprocess.Popen(cmd) while True: