Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
morington committed Jun 27, 2024
1 parent 357aace commit 3a8f0bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion confhub/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

SetupLogger(
name_registration=[
LoggerReg(name="confhub", level=LoggerReg.Level.DEBUG),
LoggerReg(name="confhub", level=LoggerReg.Level.INFO),
],
developer_mode=True
)
Expand Down
4 changes: 2 additions & 2 deletions confhub/utils/gitignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def add_to_gitignore(text: str):
gitignore_path = Path('.gitignore')
if not gitignore_path.exists():
with gitignore_path.open('w') as f:
f.write(f'\n{desc}\n{text}\n')
f.write(f'\n#{desc}\n{text}\n')
else:
with gitignore_path.open('r') as f:
lines = f.readlines()
Expand All @@ -22,4 +22,4 @@ def add_to_gitignore(text: str):

if is_write:
with gitignore_path.open('a') as f:
f.write(f'\n{desc}\n{text}\n')
f.write(f'\n#{desc}\n{text}\n')

0 comments on commit 3a8f0bb

Please sign in to comment.