Skip to content

Commit

Permalink
Merge pull request #69 from 0dysseas/development-br
Browse files Browse the repository at this point in the history
Merge dev into master
  • Loading branch information
0dysseas authored Sep 2, 2021
2 parents 96091c0 + 630af0c commit 6e96b91
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion newsindicator/about_and_settings_wins.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AboutWindow(Gtk.Dialog):
"""
About window
The about window
"""

def __init__(self):
Expand Down
4 changes: 2 additions & 2 deletions newsindicator/get_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

def show_alert_notifications():
"""
Show the alert notification pop-up window
Shows the alert notification pop-up window
"""
# Initialize the d-bus connection and create the notification object
notify2.init("News Indicator")
Expand All @@ -38,7 +38,7 @@ def show_alert_notifications():

class DownloadWorker(Thread):
"""
Main class that retrieves the actual articles from the corresponding urls, in a multi-threaded way.
Main class that retrieves the actual articles from the corresponding urls,using multiple threads.
"""

def __init__(self, input_queue, out_queue):
Expand Down
4 changes: 3 additions & 1 deletion newsindicator/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ def get_asset(asset='sources'):


def get_news_sources_from_file():
#gets the news sources from the file
"""
Gets the news sources from the file.
"""
source_file = get_asset()

with open(source_file, 'r') as f:
Expand Down

0 comments on commit 6e96b91

Please sign in to comment.