Merge branch 'master' of github.com:HelloZeroNet/ZeroNet

This commit is contained in:
sirMackk 2015-02-24 07:39:56 -05:00
commit 6a409a000a
18 changed files with 790 additions and 130 deletions
src/util

View file

@ -3,7 +3,7 @@
class Event(list):
def __call__(self, *args, **kwargs):
for f in self[:]:
if "once" in dir(f):
if "once" in dir(f) and f in self:
self.remove(f)
f(*args, **kwargs)