Skip to content

Commit

Permalink
[docs] Added LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
happycod3r committed Aug 11, 2023
1 parent fad57b4 commit 8347987
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# MIT License

## Copyright (c) 2022 Paul McCarthy
## Copyright (c) 2023 Paul McCarthy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 5 additions & 2 deletions modules/stdops.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ def readFromFile(self, file_path: str) -> (str | bool):
return contents
else:
print(f"File @'{file_path}' is exists but is empty")
return False
except FileNotFoundError:
print(f"File '{file_path}' not found.")
return False
except IOError:
print(f"Error reading file '{file_path}'.")
return False
except Exception as e:
print(repr(e))
else:
return False
return False
return False

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def setupConfig(self) -> None:
self.config.addOption("user", "api_key_path", f"{self.KEY_CONFIG_FILE}")
self.config.addOption("user", "organization", "org-8rsyvRZvyUBHhs4fJqATWK23")
self.config.addSection("ui")
self.config.addOption("ui", "color", "#DCE4EE")
self.config.addOption("ui", "color", "#5ae7d6")
self.config.addOption("ui", "ui_scaling", "100%%")
self.config.addOption("ui", "theme", "System")
self.config.addSection("chat")
Expand Down

0 comments on commit 8347987

Please sign in to comment.