Skip to content

Commit a46648d

Browse files
committed
feat: Update README.md link style
fix: Correct typo in manager.py repository URL fix: Remove unnecessary newline in manager.py cmd prompt formatting
1 parent 38bacdc commit a46648d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Options:
9696
├───────┼────────┼────────┼───────────┼────────┼────────┼────────────┼────────────┤
9797
│ 3 │ 4 │ Fedora │ community │ None │ 1 │ 2024-11-07 │ 2024-11-07 │
9898
│ │ │ │ │ │ │ 13:48:49 │ 13:48:49 │
99-
└───────┴────────┴────────┴───────────┴────────┴────────┴────────────┴────────────┘──┘
99+
└───────┴────────┴────────┴───────────┴────────┴────────┴────────────┴────────────┘
100100
```
101101
</details>
102102

manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class Interactive(cmd.Cmd):
118118
intro = (
119119
"Welcome to interactive sqlite3-db manager.\n"
120120
"Run help or h <command> for usage info.\n"
121-
"Repo : https://github.com/Simatwa/sqlite3-cli-manager"
121+
"Repository : https://github.com/Simatwa/sqlite3-cli-manager"
122122
)
123123
__init_time = time.time()
124124

@@ -158,7 +158,7 @@ def find_range(start, end, hms: bool = False):
158158

159159
if not self.disable_coloring:
160160
cmd_prompt = (
161-
f"╭─[`{Fore.CYAN}{getpass.getuser().capitalize()}@'localhost']`"
161+
f"╭─[`{Fore.CYAN}{getpass.getuser().capitalize()}@localhost]`"
162162
f"(`{Fore.MAGENTA}{self.db_manager.db_path})`"
163163
f"~[`{Fore.LIGHTWHITE_EX}🕒{Fore.BLUE}{current_time}-`"
164164
f"{Fore.LIGHTWHITE_EX}💻{Fore.RED}{find_range(self.__init_time, time.time(), True)}-`"
@@ -171,7 +171,7 @@ def find_range(start, end, hms: bool = False):
171171

172172
else:
173173
return (
174-
f"╭─[{getpass.getuser().capitalize()}@'localhost']"
174+
f"╭─[{getpass.getuser().capitalize()}@localhost]"
175175
f"({self.db_manager.db_path})"
176176
f"~[🕒{current_time}"
177177
f"-💻{find_range(self.__init_time, time.time(), True)}"

0 commit comments

Comments
 (0)