on py2
In Python, the strftime function is not directly imported from the datetime library.
try this
on py2
In Python, the strftime function is not directly imported from the datetime library.
try this
mistake
strftime is imported
hem in py2 ..
go to py3 my friend :)
i had no dubts
![]()
only test
current = ''
try:
# Python 3.x
from datetime import timezone
current = datetime.datetime.now(tz=timezone(datetime.timedelta(hours=-1)))
except ImportError:
# Python 2.x:
class MyTimezone(datetime.tzinfo):
def __init__(self, offset):
self.offset = offset
def utcoffset(self, dt):
return self.offset
def tzname(self, dt):
return "Custom Timezone"
def dst(self, dt):
return datetime.timedelta(0)
tz_offset = MyTimezone(datetime.timedelta(hours=-1))
current = datetime.datetime.now(tz=tz_offset)
print("Current datetime:", current)
Display More
python --version
??
sorry..
I forgot..
I'll try to prepare for vti, even if I don't use this image
it doesn't work like that either. you must have changed something in the code, I always updated the plugin with the yellow button, never had any problems, except this time, can you check? thank you very much
remove the folder and install from telnet with the above command
It works for me.. I think for others too.
![]()
this work on my box..
last edited 10 minutes ago.
NOT VTI IMAGE PLEASE
A Caval Donato is not looked in the mouth.
The next goose that complains will take 5 days of relaxation..
Sterile and useless posts and replies.
In your opinion, if there was a solution, we would not have found and applied it
Last warning.
![]()
put this file in to
usr\lib\enigma2\python\Plugins\Extensions\LinuxsatPanel
and reboot ;)
Python 2
opkg install python-requests
python 3
opkg install python3-requests
Dreamboxes - Python 2
apt-get -y install python-requests
Dreamboxes - Python 3
apt-get -y install python3-requests
from telnet ;)
wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/xxxplugin/main/installer.sh -O - | /bin/sh
-fix Eumsat
-major fix
Thank's Orlandox
v.3.3.8
upgrade from telnet
wget -q --no-check-certificate https://raw.githubusercontent.com/Belfagor2005/revolutionxxx/main/installer.sh -O - | /bin/sh
Or on top.. v.1.8 ;)
Little Update and fix
try this
-add 2 import from git for source and recode him
is very beta
can you upload this?
i ahave puuttet i n git.. noo??
try it.. but we are at version 3.3.8 not 5
:)