client: Added comments separating Configuration / Code

master
Felix Stupp 4 years ago
parent c640b239cb
commit c6b7f6636c
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -6,6 +6,8 @@ import subprocess
import sys
from time import sleep
# Configuration
text_closed_pictures = "Gehe zurück ..."
text_load_pictures = "Bilder werden geladen ..."
text_no_pictures_found = "Hier sind leider noch keine Bilder drinnen."
@ -20,6 +22,8 @@ binding_accept = [ord('l'), ord(' '), ord('\n')]
binding_back = [ord('h'), ord('q'), curses.KEY_BACKSPACE]
binding_exit = [ord('Q')]
# Code
def stretch(text, length, char = ' '):
missing = length - len(text)
if 0 < missing:

Loading…
Cancel
Save