File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -292,20 +292,12 @@ def unixtime(self):
292
292
try :
293
293
return time .mktime (self ._rtc .datetime )
294
294
except (ValueError , RuntimeError ) as error :
295
- < << << << Updated upstream
296
- print ("There was an error attempting to run time.mktime() on this board" )
297
- == == == =
298
295
print ("Error attempting to run time.mktime() on this board\n " , error )
299
- >> >> >> > Stashed changes
300
296
301
297
@unixtime .setter
302
298
def unixtime (self , unixtime ):
303
299
if isinstance (unixtime , int ):
304
300
try :
305
301
self ._rtc .datetime = time .localtime (unixtime )
306
302
except (ValueError , RuntimeError ) as error :
307
- < << << << Updated upstream
308
- print ("There was an error attempting to run time.localtime() on this board" )
309
- == == == =
310
303
print ("Error attempting to run time.localtime() on this board\n " , error )
311
- >> >> >> > Stashed changes
You can’t perform that action at this time.
0 commit comments