Add hack to get back correct parsing of pads
This commit is contained in:
parent
cfcf7e39f0
commit
f914a48b53
@ -280,6 +280,12 @@ async def handle_pad(args, padid, data, info, session):
|
|||||||
reason = "PANIC, couldn't download the pad contents"
|
reason = "PANIC, couldn't download the pad contents"
|
||||||
break
|
break
|
||||||
|
|
||||||
|
# Note(decentral1se): cannot track this bug down but basically the `data`
|
||||||
|
# and `padid` are getting out of sync and it is ending up that the same pad
|
||||||
|
# over and over again is downloaded. This resets things in a way that it
|
||||||
|
# works. This is a hack and one day TM I will find out how to fix it proper
|
||||||
|
data["padID"] = padid
|
||||||
|
|
||||||
if skip:
|
if skip:
|
||||||
print("[ ] {} (skipped, reason: {})".format(padid, reason))
|
print("[ ] {} (skipped, reason: {})".format(padid, reason))
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user