Alwrity - Bug fixes

This commit is contained in:
AjaySi committed 2024-04-12 17:36:37 +05:30
1 parent cf6516eeee
commit e3c3c03729
18 files changed
+81 -81

No files matched your search

@@ -34,7 +34,7 @@ def blog_from_github(github_opts, flag):
elif 'csv' in flag:
try:
gh_urls = []
with open(github_opts, 'r') as file:
with open(github_opts, 'r', encoding="utf-8") as file:
# Read each line in the file
for gh_url in file:
gh_urls.append(gh_url.strip())
+1 -1
View File
@@ -276,7 +276,7 @@ def check_if_already_written(github_url, file_path='papers_already_written_on.tx
bool: True if an exact match is found, False otherwise.
"""
try:
with open(file_path, 'r') as file:
with open(file_path, 'r', encoding="utf-8") as file:
# Read each line in the file
for line in file:
# Check for an exact match