Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
infeeeee committed Nov 27, 2023
1 parent b420742 commit ab76640
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion IoTuring/ClassManager/ClassManager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

import os
from pathlib import Path
from os import path
Expand Down Expand Up @@ -33,7 +35,7 @@ def __init__(self):
# THIS MUST BE IMPLEMENTED IN SUBCLASSES, IS THE CLASS I WANT TO SEARCH !!!!
self.baseClass = None

def GetClassFromName(self, wantedName) -> type|None:
def GetClassFromName(self, wantedName) -> type | None:
# From name, load the correct module and extract the class
for module in self.modulesFilename: # Search the module file
moduleName = self.ModuleNameFromPath(module)
Expand Down

0 comments on commit ab76640

Please sign in to comment.