Remove __main__ from photodb.py.
This commit is contained in:
		
							parent
							
								
									6eb4d887ba
								
							
						
					
					
						commit
						3a8aadf6aa
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		|  | @ -1886,7 +1886,3 @@ class PhotoDB( | ||||||
|     def save_config(self): |     def save_config(self): | ||||||
|         with self.config_filepath.open('w', encoding='utf-8') as handle: |         with self.config_filepath.open('w', encoding='utf-8') as handle: | ||||||
|             handle.write(json.dumps(self.config, indent=4, sort_keys=True)) |             handle.write(json.dumps(self.config, indent=4, sort_keys=True)) | ||||||
| 
 |  | ||||||
| if __name__ == '__main__': |  | ||||||
|     p = PhotoDB() |  | ||||||
|     print(p) |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue