Skip to content

Commit

Permalink
Return file name after lc.create_list_for() finishes
Browse files Browse the repository at this point in the history
- this addresses the problem pointed out in issue #4
  • Loading branch information
shailshouryya committed Nov 8, 2020
1 parent 989bb41 commit a30be66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/dev/__init__.py
Expand Up @@ -158,4 +158,4 @@ def create_list_for(self, url=None, file_name=None, channel=None, channel_type=N
_execution_type = 'module'
instance_attributes = (self.txt, self.csv, self.markdown, self.reverse_chronological, self.headless, self.scroll_pause_time, self.driver)

execute.logic(channel, channel_type, file_name, *instance_attributes, _execution_type)
return execute.logic(channel, channel_type, file_name, *instance_attributes, _execution_type)
1 change: 1 addition & 0 deletions python/dev/execute.py
Expand Up @@ -167,3 +167,4 @@ def show_user_how_to_set_up_selenium():
program_end = time.perf_counter()
total_time = program_end - program_start
print(f'This program took {total_time} seconds to complete.\n')
return file_name
2 changes: 1 addition & 1 deletion python/yt_videos_list/__init__.py
Expand Up @@ -158,4 +158,4 @@ def create_list_for(self, url=None, file_name=None, channel=None, channel_type=N
_execution_type = 'module'
instance_attributes = (self.txt, self.csv, self.markdown, self.reverse_chronological, self.headless, self.scroll_pause_time, self.driver)

execute.logic(channel, channel_type, file_name, *instance_attributes, _execution_type)
return execute.logic(channel, channel_type, file_name, *instance_attributes, _execution_type)
1 change: 1 addition & 0 deletions python/yt_videos_list/execute.py
Expand Up @@ -128,3 +128,4 @@ def show_user_how_to_set_up_selenium():
program_end = time.perf_counter()
total_time = program_end - program_start
print(f'This program took {total_time} seconds to complete.\n')
return file_name

0 comments on commit a30be66

Please sign in to comment.