Skip to content

Commit

Permalink
improve arkibas-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
clausjuhl committed Sep 26, 2024
1 parent 290e6e0 commit 3baafc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "smart-client"
version = "0.1.11"
version = "0.2.2"
description = "Klient til Smartarkivering.dk-submissions"
authors = ["Claus Juhl Knudsen <[email protected]>"]
include = ["pyproject.toml"]
Expand Down
4 changes: 3 additions & 1 deletion smart_client/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from pathlib import Path
from typing import Any, Optional, List, Dict
from xml.dom.minidom import parseString

# from datetime import datetime
import urllib.parse
import uuid
Expand Down Expand Up @@ -102,6 +103,7 @@ def generate_arkibas_csvs(dir_path: Path, submission: Dict) -> None:
journal.writerow(
{
"Indhold": submission.get("description"),
"Mængde": len(submission["files"]),
"Placering": submission.get("location"),
"Filnavn": file.get("filename"),
}
Expand Down Expand Up @@ -381,7 +383,7 @@ def compute_hash(filepath: Path) -> str:


@Gooey(
program_name="Smartarkivering, version 0.2.1",
program_name="Smartarkivering, version 0.2.2",
# program_name="Smartarkivering",
program_description="Klient til at hente afleveringer og filer fra smartarkivering.dk",
default_size=(600, 700),
Expand Down

0 comments on commit 3baafc2

Please sign in to comment.