mirror of
				https://github.com/craigerl/aprsd.git
				synced 2025-11-03 21:20:23 -05:00 
			
		
		
		
	Fixed save directory default
This commit is contained in:
		
							parent
							
								
									6391c7eed6
								
							
						
					
					
						commit
						233d49bb4c
					
				@ -1,6 +1,10 @@
 | 
			
		||||
from pathlib import Path
 | 
			
		||||
 | 
			
		||||
from oslo_config import cfg
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
home = str(Path.home())
 | 
			
		||||
DEFAULT_CONFIG_DIR = f"{home}/.config/aprsd/"
 | 
			
		||||
APRSD_DEFAULT_MAGIC_WORD = "CHANGEME!!!"
 | 
			
		||||
 | 
			
		||||
admin_group = cfg.OptGroup(
 | 
			
		||||
@ -30,7 +34,7 @@ aprsd_opts = [
 | 
			
		||||
    ),
 | 
			
		||||
    cfg.StrOpt(
 | 
			
		||||
        "save_location",
 | 
			
		||||
        default="~/.config/aprsd",
 | 
			
		||||
        default=DEFAULT_CONFIG_DIR,
 | 
			
		||||
        help="Save location for packet tracking files.",
 | 
			
		||||
    ),
 | 
			
		||||
    cfg.BoolOpt(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user