Mercurial > ~darius > hgwebdir.cgi > py-iview
diff iviewget.py @ 3:34471d354603
Use os.path.join to construct the output filename, hopefully more portable.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 20 Aug 2009 17:35:14 +0930 |
parents | 6edc508e0775 |
children | c4188feb8f26 |
line wrap: on
line diff
--- 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: