Skip to content

Commit

Permalink
提交
Browse files Browse the repository at this point in the history
  • Loading branch information
HUPFC committed Dec 7, 2016
1 parent 5196d0a commit 7bb5347
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions lib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,3 @@ def rand(min=None, max=None):
else:
return int(random.random() * 100000)

def writelog(dir,str):
f = file(dir,'w')

2 changes: 1 addition & 1 deletion weixin/sougouspider.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def send_progress(self,code,msg):
}
str = json.dumps(dic, ensure_ascii=False)
print(str)
self.redis.rpush(self.wx_progress,str)
#self.redis.rpush(self.wx_progress,str)

def sleep_random(self,start=2,end=4):
num = random.uniform(start,end)
Expand Down

0 comments on commit 7bb5347

Please sign in to comment.