fix
authorjorgormo <jorgormo@node001.(none)>
Wed, 2 Jul 2008 13:46:30 +0000 (15:46 +0200)
committerjorgormo <jorgormo@node001.(none)>
Wed, 2 Jul 2008 13:46:30 +0000 (15:46 +0200)
melon-watch-dir.py

index 2972b1a728ca19c74cc7c3dc880e8772b9bae3da..58749e2439b5c42d9f22a5247a2394e1258573de 100755 (executable)
@@ -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