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.
		
		
		
		
		
			
		
			
				
					
					
						
							11 lines
						
					
					
						
							305 B
						
					
					
				
			
		
		
	
	
							11 lines
						
					
					
						
							305 B
						
					
					
				| import os
 | |
| BASEDIR = os.path.abspath(os.path.join(os.path.dirname(os.path.realpath(__file__)), "../"))
 | |
| 
 | |
| from common.android import ANDROID
 | |
| if ANDROID:
 | |
|   PERSIST = "/persist"
 | |
|   PARAMS = "/data/params"
 | |
| else:
 | |
|   PERSIST = os.path.join(BASEDIR, "persist")
 | |
|   PARAMS = os.path.join(BASEDIR, "persist", "params")
 | |
| 
 | |
| 
 |