* Removed unused code.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 2 May 2021 20:19:13 +0000 (22:19 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 2 May 2021 20:19:13 +0000 (22:19 +0200)
* Fixed copyright year.

ffpreview.py

index 69bd9037bf59ff02bc34f127d29ad6aafa08787a..772ee3092a7e94a2cc7394b69c04c3ecadb6a53f 100755 (executable)
@@ -7,7 +7,7 @@ Copyright 2021 Urban Wallasch <irrwahn35@freenet.de>
 
 BSD 3-Clause License
 
-Copyright (c) 2018, Urban Wallasch
+Copyright (c) 2021, Urban Wallasch
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -292,8 +292,6 @@ def s2hms(ts):
     return res
 
 def click_thumb(event):
-    num = event.widget.grid_info()["row"] * cfg.grid_columns \
-        + event.widget.grid_info()["column"] + 1
     cmd = 'mpv --start=' + event.widget.cget("text") + ' --pause "' + cfg.vid + '"'
     Popen(cmd, shell=True)