shot them all: fix filename for horizontal mobiles

This commit is contained in:
Frédéric Péters 2020-02-17 11:23:59 +01:00
parent 6755633a35
commit 6c9e0e692e
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ for theme in get_themes():
shots = [
[1400, 1000, 'desktop'],
[360, 740, 'mobile'], # Samsung Galaxy S8
[740, 360, 'mobile-horieontal'], # ditto, horizonal
[740, 360, 'mobile-horizontal'], # ditto, horizonal
]
if not args.reshot:
if all([os.path.exists(os.path.join(args.directory, '%s-%s.png' % (theme_id, x[2]))) for x in shots]):