Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
takano32 committed Feb 10, 2024
1 parent 2b989d5 commit ca29caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sun.py
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ def say(self, slack=False, lingr=True):


if __name__ == '__main__':
sys.stdout = codecs.getwriter('utf_8')(sys.stdout)
sys.stdout = open(sys.stdout.fileno(), mode='w', encoding='utf8', buffering=1)

no = NotSubculture()
post_body = sys.stdin.read()
Expand Down

0 comments on commit ca29caa

Please sign in to comment.