Skip to content

Commit

Permalink
fix os.environ import
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin de Massol committed Oct 18, 2023
1 parent c3d9212 commit f8d70c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_swo_viewer.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
from swo_parser import swo_parser_main
import subprocess
from os import path, __file__
from os import environ, path, __file__
import time
import sys
Import("env")

def swo_viewer_task(*args, **kwargs):
os.environ['PYTHONUNBUFFERED'] = '1'
environ['PYTHONUNBUFFERED'] = '1'
print("Entrypoint")
board = env.BoardConfig()
platform = env.PioPlatform()
Expand Down

0 comments on commit f8d70c5

Please sign in to comment.