Fixed a bug where static files would use the last read filetype as mimetype

We need a prettier way of making namespaces
This commit is contained in:
2017-11-11 13:00:43 +01:00
parent b0e857e21b
commit 902ae45ab3
2 changed files with 18 additions and 13 deletions
+3
View File
@@ -38,6 +38,9 @@ def listify_output(func):#decorator
return list(func(*args, **kwargs))
return new_func
def call(func):#decorator
return func()
class Model:
def __setattr__(self, name, value):
if not hasattr(self, name):