Skip to content

Commit

Permalink
Fix multi threading bug [BR#2: bonanyuan]
Browse files Browse the repository at this point in the history
  • Loading branch information
littlecodersh committed Nov 13, 2016
1 parent 7a54d91 commit 73f89b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions danmu/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
from .Bilibili import BilibiliDanMuClient
from .HuoMao import HuoMaoDanMuClient

__version__ = '1.0.3'
__version__ = '1.0.4'
__all__ = ['DanMuClient']

class DanMuClient(object):
__url = ''
__baseClient = None
__client = None
__functionDict = {'default': lambda x: 0}
__isRunning = False
def __init__(self, url):
self.__url = ''
self.__baseClient = None
self.__client = None
self.__functionDict = {'default': lambda x: 0}
self.__isRunning = False
if 'http://' == url[:7]:
self.__url = url
else:
Expand Down

0 comments on commit 73f89b0

Please sign in to comment.