aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-19 12:11:09 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-19 12:11:09 +0000
commit5b96d4ebe0d08e2b5c0fc4a99be1cf787543137d (patch)
tree093bd7baf3677be27fb6548a9385f1278a1f8199
parentRunning both center and crop is unnecessary (diff)
downloadpaper2remarkable-5b96d4ebe0d08e2b5c0fc4a99be1cf787543137d.tar.gz
paper2remarkable-5b96d4ebe0d08e2b5c0fc4a99be1cf787543137d.zip
Replace spaces in author names
-rw-r--r--paper2remarkable/providers/_info.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/paper2remarkable/providers/_info.py b/paper2remarkable/providers/_info.py
index 47c2e25..10b6959 100644
--- a/paper2remarkable/providers/_info.py
+++ b/paper2remarkable/providers/_info.py
@@ -50,6 +50,7 @@ class Informer:
authors = self.authors[0] + "_et_al"
else:
authors = "_".join(self.authors)
+ authors = authors.replace(" ", "_")
authors = clean_string(authors)
# Clean the title and make it titlecase