Skip to content

Commit

Permalink
fix: examples
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 committed Aug 9, 2023
1 parent c1d1780 commit 039ec0f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
3 changes: 1 addition & 2 deletions examples/censures.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

## python examples/user.py db0
## python examples/censures.py db0

import os
import argparse
import json
from pythonseer import Fediseer
from pythonseer.types import FormatType

Expand Down
3 changes: 1 addition & 2 deletions examples/endorsements.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@

## python examples/user.py db0
## python examples/endorsements.py db0

import os
import argparse
import json
from pythonseer import Fediseer
from pythonseer.types import FormatType

Expand Down
4 changes: 2 additions & 2 deletions examples/instance.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## python examples/user.py db0
## python examples/instance.py db0

import os
import argparse
Expand All @@ -21,6 +21,6 @@
pythonseer = Fediseer()
details = pythonseer.whitelist.get_domain(fediverse_domain)
if details:
print(details)
print(json.dumps(details, indent=4))
else:
print("Retrieval of instance details failed")
5 changes: 1 addition & 4 deletions examples/suspicions.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@

## python examples/user.py db0
## python examples/suspicions.py db0

import os
import argparse
import json
from pythonseer import Fediseer
from pythonseer.types import FormatType

Expand Down

0 comments on commit 039ec0f

Please sign in to comment.