Skip to content

Commit e7b72a2

Browse files
committed
Ignore dirs in DFXML, bump to 1.1.2
1 parent c63ef04 commit e7b72a2

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Tool for automated processing of directories in BitCurator.
44

5-
Version: 1.1.1
5+
Version: 1.1.2
66

77
CCA Folder Processor creates Archivematica-ready SIPs from directories on a local filesystem, piece of external media, or network shares, and generates a pre-populated description spreadsheet containing information such as start and end dates, extents, and a scope and content note for each created SIP.
88

main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ def write_csv_row(writer, sip_path, bag_files):
209209
for (event, obj) in Objects.iterparse(dfxml_file):
210210
if not isinstance(obj, Objects.FileObject):
211211
continue
212+
if obj.is_dir():
213+
continue
212214
file_count += 1
213215
mtime = ""
214216
if obj.mtime:
@@ -332,7 +334,7 @@ def about_dialog(self):
332334
QMessageBox.information(
333335
self,
334336
"About",
335-
"Folder Processor v1.1.1\nCanadian Centre for Architecture\nDeveloper: Tessa Walsh\n2018-2023\nMIT License\nhttps://github.com/CCA-Public/folderprocessor",
337+
"Folder Processor v1.1.2\nCanadian Centre for Architecture\nDeveloper: Tessa Walsh\n2018-2023\nMIT License\nhttps://github.com/CCA-Public/folderprocessor",
336338
)
337339

338340
def browse_source(self):

0 commit comments

Comments
 (0)