canfestival/canfestival.py
changeset 2442 b13f021c68a5
parent 2437 105c20fdeb19
child 2736 a81b72ef156c
--- a/canfestival/canfestival.py	Tue Oct 09 13:50:29 2018 +0300
+++ b/canfestival/canfestival.py	Tue Oct 09 14:03:44 2018 +0300
@@ -617,6 +617,6 @@
         if can_driver is not None:
             can_driver_path = os.path.join(CanFestivalPath, "drivers", can_driver, can_driver_name)
             if os.path.exists(can_driver_path):
-                res += ((can_driver_name, file(can_driver_path, "rb")),)
+                res += ((can_driver_name, open(can_driver_path, "rb")),)
 
         return res