From: jorgormo Date: Wed, 2 Jul 2008 13:46:30 +0000 (+0200) Subject: fix X-Git-Url: http://slack.codemaniacs.com/git/?a=commitdiff_plain;h=9cdc539327aa9c27453ddc5873ff0676d326c6d9;p=melon.git fix --- diff --git a/melon-watch-dir.py b/melon-watch-dir.py index 2972b1a..58749e2 100755 --- a/melon-watch-dir.py +++ b/melon-watch-dir.py @@ -28,7 +28,7 @@ def tempname(suffix, preffix, dirname): if "NamedTemporaryFile" in dir(tempfile): outfile=tempfile.NamedTemporaryFile("w+b",-1,"","melon-",dst_dirname) else: - outfilename=tempname("melon-", "", dst_dirname) + outfilename=tempname("", "melon-", dst_dirname) outfile=file(outfilename, "w+b", 0) try: old_count = -1