Skip to content

Commit

Permalink
Merge pull request #231 from JeffersonLab/Hao_testAlmaLinux9
Browse files Browse the repository at this point in the history
Modified RCDB connection for the new AlmaLinux9 environment
  • Loading branch information
s6pepaul authored Oct 3, 2024
2 parents d97a1ea + b68ed27 commit 831d767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psflux/plot_flux_ccdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def main():
# Load RCDB
rcdb_conn = None
try:
rcdb_conn = rcdb.RCDBProvider("mysql://[email protected]/rcdb")
rcdb_conn = rcdb.RCDBProvider(os.environ.get('RCDB_CONNECTION'))
except:
e = sys.exc_info()[0]
print("Could not connect to RCDB: " + str(e))
Expand Down

0 comments on commit 831d767

Please sign in to comment.