Fixed indentation of refine function and added path parameter the scan_folder function call
This commit is contained in:
		| @@ -219,7 +219,7 @@ def save_subtitles(files, single=False, directory=None, encoding=None): | |||||||
|         print() |         print() | ||||||
|  |  | ||||||
|  |  | ||||||
|     def refine(video, episode_refiners=None, movie_refiners=None, **kwargs): | def refine(video, episode_refiners=None, movie_refiners=None, **kwargs): | ||||||
|     """Refine a video using :ref:`refiners`. |     """Refine a video using :ref:`refiners`. | ||||||
|     .. note:: |     .. note:: | ||||||
|         Exceptions raised in refiners are silently passed and logged. |         Exceptions raised in refiners are silently passed and logged. | ||||||
| @@ -288,7 +288,7 @@ def main(): | |||||||
|     # hashList = organize_files(episodePath) |     # hashList = organize_files(episodePath) | ||||||
|     # pprint(hashList) |     # pprint(hashList) | ||||||
|  |  | ||||||
|     videos = scan_folder() |     videos = scan_folder(path) | ||||||
|     for video in videos: |     for video in videos: | ||||||
|         pprint(video) |         pprint(video) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user