summaryrefslogtreecommitdiff
path: root/scripts/openlibrary2lesana
diff options
context:
space:
mode:
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()