More spring cleaning.
[pyutils.git] / src / pyutils / remote_worker.py
index eefc40a299fd87d14ea54e86bbbd4d21cd5dc8c0..114875da56e1e07c68cb3006c01c2a4078731806 100755 (executable)
@@ -106,9 +106,9 @@ def main() -> None:
     """Remote worker entry point."""
 
     in_file = config.config["code_file"]
-    assert in_file and type(in_file) == str
+    assert in_file and isinstance(in_file, str)
     out_file = config.config["result_file"]
-    assert out_file and type(out_file) == str
+    assert out_file and isinstance(out_file, str)
 
     thread = None
     stop_event = None