Use float for size calculation. fix #643

This commit is contained in:
Ruud committed 2012-08-05 15:27:27 +02:00
1 parent ac91156288
commit a3895dd176
2 files changed
+7 -8

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ def tryInt(s):
def tryFloat(s):
try: return float(s) if '.' in s else tryInt(s)
except: return s
except: return 0
def natsortKey(s):
return map(tryInt, re.findall(r'(\d+|\D+)', s))