OSDN Git Service

Fix a bug. posibility of float.
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 19:22:34 +0000 (04:22 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Sun, 24 Sep 2006 19:22:34 +0000 (04:22 +0900)
src/FukuiNoNamari/board_data.py

index 20d1395..baa92d6 100644 (file)
@@ -186,7 +186,7 @@ class BoardData:
         def id_and_lastmod(file_path):
             thread_id = os.path.basename(file_path)[:len(ext)*-1]
             try:
-                idxlastModified = os.path.getmtime(file_path)
+                idxlastModified = int(os.path.getmtime(file_path))
                 return thread_id, idxlastModified
             except OSError:
                 pass