mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-25 06:26:37 +00:00
fixup: ruff check
complaints
This commit is contained in:
parent
98bca72299
commit
a40233905f
@ -103,7 +103,7 @@ def copy_thumbnail(self):
|
|||||||
if not self.source.copy_thumbnails:
|
if not self.source.copy_thumbnails:
|
||||||
return
|
return
|
||||||
if not self.thumb_file_exists:
|
if not self.thumb_file_exists:
|
||||||
from ..tasks import delete_task_by_media
|
from sync.tasks import delete_task_by_media
|
||||||
args = ( str(self.pk), self.thumbnail, )
|
args = ( str(self.pk), self.thumbnail, )
|
||||||
if not args[1]:
|
if not args[1]:
|
||||||
return
|
return
|
||||||
@ -122,7 +122,6 @@ def copy_thumbnail(self):
|
|||||||
|
|
||||||
|
|
||||||
def write_nfo_file(self):
|
def write_nfo_file(self):
|
||||||
media = self
|
|
||||||
if not self.source.write_nfo:
|
if not self.source.write_nfo:
|
||||||
return
|
return
|
||||||
log.info('Writing media NFO file to: {}', self.nfopath)
|
log.info('Writing media NFO file to: {}', self.nfopath)
|
||||||
|
Loading…
Reference in New Issue
Block a user