fixed loop misjtake in dropdown menu creation
This commit is contained in:
@@ -3,7 +3,7 @@ import os
|
||||
import time
|
||||
|
||||
hotkey_file='/home/paul/Hotkeys'
|
||||
hotkey_picture='/home/paul/Hotkeys.png'
|
||||
hotkey_picture='/home/paul/Pictures/Wallpapers/Hotkeys.png'
|
||||
|
||||
with open(hotkey_file) as file:
|
||||
lines = [line.rstrip() for line in file]
|
||||
@@ -19,7 +19,7 @@ for line in lines[:len(lines)//2]:
|
||||
if os.path.isfile(hotkey_picture):
|
||||
os.remove(hotkey_picture)
|
||||
|
||||
fontsize = 19
|
||||
fontsize = 20
|
||||
|
||||
image = Image.new(mode = "RGB", size = (1440,900), color=(43,46,59))
|
||||
ImageDraw.Draw(image).text((10,10), text1, font=ImageFont.truetype('/usr/share/fonts/ubuntu/UbuntuMono-R.ttf',fontsize), fill='#ffffff')
|
||||
|
||||
Reference in New Issue
Block a user