Commit 82504fc4 authored by Richard Robert Sawoscinski's avatar Richard Robert Sawoscinski
Browse files

Merge branch 'newbranch' into 'main'

more strip statements

See merge request !9
parents 46acea30 b4f57b93
......@@ -100,9 +100,9 @@ class Sifter:
data = {
'owner': child['owners.0.emailAddress'],
'name': child['title'].strip(),
'id': child['id'],
'link': child['alternateLink'],
'parent': '\\'.join(self.parent),
'id': child['id'].strip(),
'link': child['alternateLink'].strip(),
'parent': '\\'.join(self.parent).strip(),
'created': child['createdDate']
}
_title = child['title'].lower()
......@@ -146,10 +146,10 @@ class Sifter:
if item['id'] not in self.transfer_files.keys():
if item['id'] not in self.private_files.keys():
self.unknown_files[item['id']] = {
'owner': item['owners.0.emailAddress'],
'owner': item['owners.0.emailAddress'].strip(),
'name': item['title'].strip(),
'id': item['id'],
'link': item['alternateLink'],
'id': item['id'].strip(),
'link': item['alternateLink'].strip(),
'created': item['createdDate']
}
except CalledProcessError as e:
......@@ -181,8 +181,8 @@ class Sifter:
self.shared_files[item['id']] = {
'owner': item['owners.0.emailAddress'],
'name': item['title'].strip(),
'id': item['id'],
'link': item['alternateLink'],
'id': item['id'].strip(),
'link': item['alternateLink'].strip(),
'created': item['createdDate']
}
except CalledProcessError as e:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment