You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							10 lines
						
					
					
						
							295 B
						
					
					
				
			
		
		
	
	
							10 lines
						
					
					
						
							295 B
						
					
					
				import os
 | 
						|
BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
 | 
						|
 | 
						|
from common.hardware import PC
 | 
						|
if PC:
 | 
						|
  PERSIST = os.path.join(BASEDIR, "persist")
 | 
						|
  PARAMS = os.path.join(BASEDIR, "persist", "params")
 | 
						|
else:
 | 
						|
  PERSIST = "/persist"
 | 
						|
  PARAMS = "/data/params"
 | 
						|
 |