]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blobdiff - bin/pfa-from-incoming
- fix
[projects/pld-ftp-admin.git] / bin / pfa-from-incoming
index 51946230bd156b9f99708c516fc841a72d964b64..508ac95152a450af185c541fbb2a95989564bcdd 100644 (file)
@@ -26,7 +26,7 @@ def mv(src, dst):
 def findfiles(dir):
     def filterinfos(x):
         if x[-11:]=='.uploadinfo':
-            mtime = os.stat(dir + '/' + x)[ST_MTIME]
+            mtime = os.stat(dir + '/' + x)[stat.ST_MTIME]
             now = time.time()
             # don't look into uploadinfo files for 30 seconds after scp
             if now - mtime > 30:
This page took 0.023309 seconds and 4 git commands to generate.