Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
aivarannamaa committed Aug 5, 2024
1 parent c7030a4 commit 7f3e4fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions thonny/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ def get_ipc_file_path():
base_dir = get_thonny_user_dir()

import getpass

username = getpass.getuser()

ipc_dir = os.path.join(base_dir, "thonny-%s" % username)
Expand Down
3 changes: 0 additions & 3 deletions thonny/plugins/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,6 @@ def _get_venv_path(self):
if fnam == CFGFILE:
return os.path.dirname(path)
except Exception:
import traceback

traceback.print_stack()
logger.exception("_get_venv_path")

def check_for_venv(self):
Expand Down

0 comments on commit 7f3e4fb

Please sign in to comment.