fix emoji order
This commit is contained in:
@@ -161,12 +161,16 @@ class AutoFicher():
|
|||||||
else:
|
else:
|
||||||
time = datetime.now().astimezone(pytz.timezone("Europe/Madrid")).strftime("%H:%M")
|
time = datetime.now().astimezone(pytz.timezone("Europe/Madrid")).strftime("%H:%M")
|
||||||
|
|
||||||
rtext = 'fichado'
|
conditional_response = {
|
||||||
remoji = "🏡🏃♂️🏢🕐"
|
"text": "fichado",
|
||||||
|
"emoji": "🕐🏢🏃♂️🏡"
|
||||||
|
}
|
||||||
if typ:
|
if typ:
|
||||||
rtext = 'desfichado'
|
conditional_response = {
|
||||||
remoji = "🕐🏢🏃♂️🏡"
|
"text": "desfichado",
|
||||||
self.sendReport('%s Has %s correctamente a las %s' % (remoji, rtext, time))
|
"emoji": "🏡🏃♂️🏢🕐"
|
||||||
|
}
|
||||||
|
self.sendReport('%s Has %s correctamente a las %s' % (conditional_response['emoji'], conditional_response['text'], time))
|
||||||
else:
|
else:
|
||||||
self.sendReport("🟥🕐 No se ha podido fichar, la web no ha devuelto 200 OK")
|
self.sendReport("🟥🕐 No se ha podido fichar, la web no ha devuelto 200 OK")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user