Kaynağa Gözat

Fix typo os.unlink(filename) -> os.unlink(path). Thanks dmishe. Closes #55

Ask Solem 15 yıl önce
ebeveyn
işleme
15ebb814da
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      celery/platform.py

+ 1 - 1
celery/platform.py

@@ -26,7 +26,7 @@ def maybe_remove_file(path, ignore_perm_denied=False):
 
     """
     try:
-        os.unlink(filename)
+        os.unlink(path)
     except OSError, exc:
         if exc.errno == errno.ENOENT:
             return