Skip to content

Commit

Permalink
Merge pull request #25 from gakkiyomi/develop
Browse files Browse the repository at this point in the history
🔧 抢心跳红包报错
  • Loading branch information
gakkiyomi authored Jun 6, 2023
2 parents a302a48 + 7b6449c commit 5051906
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/core/redpacket.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,11 @@ def rush_redpacket(api: FishPi, redpacket):
def __analyzeHeartbeatRedPacket(api: FishPi, red_packet_id):
for data in api.chatroom.more()['data']:
if data['oId'] == red_packet_id:
__analyze(api, json.loads(data['content']),
red_packet_id, data['time'], data['userName'])
return
if data['content']:
__analyze(api, json.loads(data['content']), red_packet_id, data['time'], data['userName'])
else:
return
return
print("红包助手: 你与此红包无缘")


Expand Down
2 changes: 1 addition & 1 deletion src/utils/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.3"
__version__ = "1.4.4"

0 comments on commit 5051906

Please sign in to comment.