Change PATH constructor
This commit is contained in:
		
							parent
							
								
									8640f6a114
								
							
						
					
					
						commit
						35c81f89ee
					
				|  | @ -349,10 +349,6 @@ def main(): | ||||||
|     showArgs(parser) |     showArgs(parser) | ||||||
| 
 | 
 | ||||||
|     verbosity = False |     verbosity = False | ||||||
|     """     root_path = "/home/" + os.getlogin() + "/.cache/recorder" |  | ||||||
|     tmp_dir_path = root_path + "/tmp" |  | ||||||
|     wave_dir_path = root_path + "/wave" """ |  | ||||||
| 
 |  | ||||||
|     root_path = os.path.join(os.path.expanduser('~'), ".cache/recorder") |     root_path = os.path.join(os.path.expanduser('~'), ".cache/recorder") | ||||||
|     tmp_dir_path = os.path.join(root_path, "tmp") |     tmp_dir_path = os.path.join(root_path, "tmp") | ||||||
|     wave_dir_path = os.path.join(root_path, "wave") |     wave_dir_path = os.path.join(root_path, "wave") | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Snorky
						Snorky