Skip to content

Commit

Permalink
Fix lib/print.py: do not print setting :D
Browse files Browse the repository at this point in the history
  • Loading branch information
Salamandar committed Sep 24, 2024
1 parent 2ccd9fc commit c3c243d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/print.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
output = "plain"
#!/usr/bin/env python3

output = "plain"

def _print(*args, **kwargs):
if not is_json_output():
Expand All @@ -8,7 +9,6 @@ def _print(*args, **kwargs):

def set_output_json():
global output
print("setting")
output = "json"


Expand Down

0 comments on commit c3c243d

Please sign in to comment.