Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nvbln committed Aug 9, 2023
1 parent 58e8b1f commit 9956203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stytra/offline/track_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def track(self):
fileformat = self.cmb_fmt.currentText()

self.exp.camera.kill_event.set()
reader = imageio.get_reader(str(self.input_path), 'ffmpeg')
reader = imageio.get_reader(str(self.input_path), "ffmpeg")
data = []
self.exp.window_main.stream_plot.toggle_freeze()

output_name = str(self.output_path) + "." + fileformat
self.diag_track.show()
if (hasattr(reader, 'count_frames')):
if hasattr(reader, "count_frames"):
l = reader.count_frames()
else:
l = reader.get_length()
Expand Down

0 comments on commit 9956203

Please sign in to comment.