Skip to content

Commit

Permalink
Updates python setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
nicwade committed May 16, 2018
1 parent 273ae35 commit 44efbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -45,7 +45,7 @@ def _create_new_facility(facility_path):
dls_sys_params = os.path.join(dls_path, 'system_parameters.yml')
facility_sys_params = \
os.path.join(facility_path, 'system_parameters.yml')
if not os.exist(facility_sys_params):
if not os.path.exists(facility_sys_params):
shutil.copy(dls_sys_params, facility_path)

if '--facility' in sys.argv:
Expand Down

0 comments on commit 44efbc6

Please sign in to comment.