mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-13 03:40:15 +01:00
first commit from pi
This commit is contained in:
@@ -30,7 +30,7 @@ def setup_logging():
|
||||
logger = setup_logging()
|
||||
|
||||
######## sets paths and constants ########
|
||||
PATH_TO_BROWSER = 'C:\TestFolderStucture' #TODO replace this with pi path name when i know what makes sense
|
||||
PATH_TO_BROWSER = '/home/pi/pp_home/media' #TODO replace this with pi path name when i know what makes sense
|
||||
PATH_TO_DATA_OBJECTS = get_the_current_dir_path()
|
||||
EMPTY_BANK = dict(name='',location='',length=-1,start=-1,end=-1)
|
||||
|
||||
@@ -304,4 +304,4 @@ def convert_int_to_string_for_display(time_in_seconds):
|
||||
elif time_in_seconds >= 6000:
|
||||
return '99:99'
|
||||
else:
|
||||
return time.strftime("%M:%S", time.gmtime(time_in_seconds))
|
||||
return time.strftime("%M:%S", time.gmtime(time_in_seconds))
|
||||
|
||||
Reference in New Issue
Block a user