Skip to content

Commit

Permalink
add_intitial_message_headers function call from the parseSections fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
benne238 committed Jun 29, 2021
1 parent 42bb135 commit e7e7687
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import webqueue2api
import webqueue2api.parser
#import webqueue2api.parser.queue as queueueu
import json
import os

if __name__ == "__main__":
webqueue2api.parser.config.queues_to_ignore = ["archives", "drafts", "inbox", "coral", "linux"]
queues = webqueue2api.load_queues()
#if "linux" not in queues: print("No linux")
for queue in queues:
for item in queue.items:
os.system('cls||clear')
item = webqueue2api.parser.Item(item.queue, item.number, False)
print(item.queue + str(item.number))
print(json.dumps(item.content, indent=2))
input()

print(queues)
#for queue in queues:
#json.dumps(webqueue2api.Item("ce", 7).content, indent=2)

0 comments on commit e7e7687

Please sign in to comment.