Skip to content

Commit

Permalink
change variable and display names
Browse files Browse the repository at this point in the history
  • Loading branch information
rhl-bthr committed Sep 17, 2018
1 parent 0fa6342 commit 429f6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nalanda
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ if __name__ == "__main__":
news_urls[x].append(url)

subject_news_url = get_news(session, news_urls)
unread_news = find_new(session, notice_urls, subject_news_url)
new_news = find_new(session, notice_urls, subject_news_url)
new_lectures = download(session, res_urls)
display(unread_news, new_lectures)
display(new_news, new_lectures)

except requests.exceptions.ConnectionError:
quit("No Internet Connection. Please retry")
except IOError:
quit("Unable to read from file. Please reinstall termi-Nalanda")
quit("Unable to read from file. Please reinstall nalanda-cli")
except KeyboardInterrupt:
print("Stopped by user.")

0 comments on commit 429f6a9

Please sign in to comment.