Skip to content

Commit

Permalink
Merge pull request #40 from fact-project/fix_connection_already_open
Browse files Browse the repository at this point in the history
Fix connection already open
  • Loading branch information
maxnoe authored Oct 13, 2017
2 parents 9e3c4e9 + a52d3b0 commit 6b3cb7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion erna/automatic_processing/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,5 @@ class Meta:

@wrapt.decorator
def requires_database_connection(wrapped, instance, args, kwargs):
database.connect()
database.get_conn()
return wrapped(*args, **kwargs)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='erna',
version='0.4.2',
version='0.4.3',
description='Easy RuN Access. Tools that help to do batch processing of FACT data',
url='https://github.com/fact-project/erna',
author='Kai Brügge, Jens Buss, Maximilian Nöthe',
Expand Down

0 comments on commit 6b3cb7b

Please sign in to comment.