big ui update, messages sending added

This commit is contained in:
ingvar1995 2016-02-25 23:40:00 +03:00
parent 4957d7ce09
commit 30aa254d39
6 changed files with 196 additions and 31 deletions

View file

@ -23,7 +23,7 @@ def curr_directory():
class Singleton(object):
def __new__(cls):
def __new__(cls, *args):
if not hasattr(cls, 'instance'):
cls.instance = super(Singleton, cls).__new__(cls)
cls.instance = super(Singleton, cls,).__new__(cls, *args)
return cls.instance