aboutsummaryrefslogtreecommitdiff
path: root/scripts/openlibrary2lesana
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-02-25 20:11:51 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2024-02-25 20:11:51 +0100
commit70ed1dcf05aa9cd7e3c03afd47625dc8a75ab556 (patch)
treec6ec7636d43e79bfb28926aa3042bc20b7b30034 /scripts/openlibrary2lesana
parentbcfb9917fac6c772e74732ec5d633e27c812caf1 (diff)
Modernize packaging with pyproject.toml and setuptool_scm.
Diffstat (limited to 'scripts/openlibrary2lesana')
-rwxr-xr-xscripts/openlibrary2lesana6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/openlibrary2lesana b/scripts/openlibrary2lesana
index 8394a3d..c3d38e3 100755
--- a/scripts/openlibrary2lesana
+++ b/scripts/openlibrary2lesana
@@ -101,5 +101,9 @@ class OL2L(lesana.command.Command):
print(saved_entry)
-if __name__ == '__main__':
+def main():
OL2L().main()
+
+
+if __name__ == '__main__':
+ main()