webapp: remove broken assert
authorHelmut Grohne <helmut@subdivi.de>
Wed, 20 Mar 2013 18:12:25 +0000 (19:12 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Wed, 20 Mar 2013 18:12:25 +0000 (19:12 +0100)
Fails on long inputs.

webapp.py

index 6c06e28..e234596 100755 (executable)
--- a/webapp.py
+++ b/webapp.py
@@ -21,7 +21,6 @@ hash_functions = [
 jinjaenv = jinja2.Environment(loader=jinja2.FileSystemLoader("."))
 
 def format_size(size):
-    assert isinstance(size, int)
     size = float(size)
     fmt = "%d B"
     if size >= 1024: