Skip to content

Commit b9217d6

Browse files
correct imports
1 parent 03422a9 commit b9217d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/notifier/term.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re
1919
import sys
2020
from os import getcwd
21-
from os.path import basename
21+
from os.path import (basename, abspath)
2222

2323
from . import Notifier
2424
from ..settings import (PRINT_COMPILER_OUTPUT_AS_LINK,

tools/toolchains/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import re
2020
import sys
21-
from os import stat, walk, getcwd, sep, remove, path
21+
from os import stat, walk, getcwd, sep, remove
2222
from copy import copy
2323
from time import time, sleep
2424
from shutil import copyfile
@@ -987,7 +987,7 @@ def compile_command(self, source, object, includes):
987987
# Check dependencies
988988
_, ext = splitext(source)
989989
ext = ext.lower()
990-
990+
991991
source = abspath(source) if PRINT_COMPILER_OUTPUT_AS_LINK else source
992992

993993
if ext == '.c' or ext == '.cpp':

0 commit comments

Comments
 (0)