PyUpgrade 3.8 updates (#15941)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
ea13dc6208
commit
9ec8e9acbf
13 changed files with 25 additions and 25 deletions
|
|
@ -210,7 +210,7 @@ class ParkingManagement:
|
|||
Args:
|
||||
json_file (str): file that have all parking slot points
|
||||
"""
|
||||
with open(json_file, "r") as f:
|
||||
with open(json_file) as f:
|
||||
return json.load(f)
|
||||
|
||||
def process_data(self, json_data, im0, boxes, clss):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue