Skip to content

Commit

Permalink
🐛 Fix project upload description
Browse files Browse the repository at this point in the history
  • Loading branch information
AirplanegoBrr committed Nov 20, 2024
1 parent f62164d commit 0a82bc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pros/cli/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ def upload(path: Optional[str], project: Optional[c.Project], port: str, **kwarg
kwargs['slot'] = 1
if 'icon' in options and kwargs.get('icon','pros') == 'pros':
kwargs.pop('icon')
if 'description' in options and kwargs.get('description','Made with PROS') == 'Made with PROS':
kwargs.pop('description')
if 'after' in options and kwargs.get('after','screen') is None:
kwargs.pop('after')

Expand Down

0 comments on commit 0a82bc2

Please sign in to comment.