Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions console.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from dspace_rest_client.client import DSpaceClient
from dspace_rest_client.models import Community, Collection, Item, Bundle, Bitstream
import code
import logging
import os

# The DSpace client will look for the same environment variables but we can also look for them here explicitly
Expand All @@ -22,7 +20,7 @@
# Authenticate against the DSpace client
authenticated = d.authenticate()
if not authenticated:
print(f'Error logging in! Giving up.')
print('Error logging in! Giving up.')
exit(1)

code.interact(local=locals())
Loading