kleinkram 0.0.114__tar.gz → 0.0.116__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of kleinkram might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: kleinkram
3
- Version: 0.0.114
3
+ Version: 0.0.116
4
4
  Summary: A CLI for the ETH project kleinkram
5
5
  Project-URL: Homepage, https://github.com/leggedrobotics/kleinkram
6
6
  Project-URL: Issues, https://github.com/leggedrobotics/kleinkram/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "kleinkram"
7
- version = "0.0.114"
7
+ version = "0.0.116"
8
8
  authors = [
9
9
  { name="Johann Schwabe", email="jschwab@ethz.ch" },
10
10
  ]
@@ -164,5 +164,7 @@ def endpoint(endpoint: Annotated[str, typer.Argument()]):
164
164
 
165
165
  def setCliKey(key: Annotated[str, typer.Argument()]):
166
166
  tokenfile = TokenFile()
167
+ if not tokenfile.endpoint in tokenfile.tokens:
168
+ tokenfile.tokens[tokenfile.endpoint] = {}
167
169
  tokenfile.tokens[tokenfile.endpoint][CLI_KEY] = key
168
170
  tokenfile.writeToFile()
@@ -424,7 +424,8 @@ def addTag(
424
424
  else:
425
425
  print(response.json())
426
426
  print("Failed to tag mission")
427
- except:
427
+ except httpx.HTTPError as e:
428
+ print(e)
428
429
  print("Failed to tag mission"
429
430
  )
430
431
 
File without changes
File without changes
File without changes
File without changes
File without changes