Skip to content

Commit

Permalink
0.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jun 28, 2024
1 parent 94be655 commit 7ca9d11
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions developers_chamber/bin/pydev.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import sys
from pathlib import Path
import imp
from importlib.machinery import SourceFileLoader

import click_completion
import coloredlogs
Expand Down Expand Up @@ -56,10 +56,8 @@

# Import external scripts
for base_path in (Path.home(), Path.cwd()):
if (base_path / ".pydev" / "scripts").exists():
sys.path.append(base_path / ".pydev")
imp.load_source('*', str(base_path / ".pydev" / "scripts" / "__init__.py"))

if (base_path / ".pydev" / "scripts" / "__init__.py").exists():
SourceFileLoader('*', str(base_path / ".pydev" / "scripts" / "__init__.py")).load_module()

from developers_chamber.scripts.init_aliasses import *

Expand Down

0 comments on commit 7ca9d11

Please sign in to comment.