style(wallpaper_changer): ruff auto fix
This commit is contained in:
1 parent
79b3bdd91f
commit
1667362b9d
3 files changed
+9
-4
No files matched your search
@@ -360,7 +360,8 @@ class WallpaperBuilderEdgeCaseTests(unittest.TestCase):
|
||||
"--private-key", str(assets / "test_private_key.pem"))
|
||||
config = Config.load(args)
|
||||
(image_root / "Desktop1920x1080" ).mkdir()
|
||||
shutil.copy(assets / "Desktop1920x1080" / "Foto_Berg01.jpg", config.img_dir/"Foto_Berg01.jpg")
|
||||
shutil.copy(assets / "Desktop1920x1080" / "Foto_Berg01.jpg",
|
||||
config.img_dir/"Foto_Berg01.jpg")
|
||||
# Get file size
|
||||
size = os.path.getsize(config.img_dir/"Foto_Berg01.jpg")
|
||||
# Remove the last 50 bytes
|
||||
|
||||
Reference in new issue
Block a user