Skip to content

Commit

Permalink
Try to initialize travis environmenti #7
Browse files Browse the repository at this point in the history
  • Loading branch information
jjgomera committed Nov 2, 2017
1 parent 1fe7cae commit bab508c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion lib/freeSteam.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class Freesteam(ThermoWater):
"doi": ""}]

M = unidades.Dimensionless(iapws._iapws.M)
print(os.environ["freesteam"])
if os.environ["freesteam"] == "True":
Pc = unidades.Pressure(freesteam.PCRIT)
Tc = unidades.Temperature(freesteam.TCRIT)
Expand Down
3 changes: 1 addition & 2 deletions tests/initialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@


from configparser import ConfigParser
import json
import os
import shutil
import sys
import urllib.error


# Add pychemqt folder to python path
Expand All @@ -45,6 +43,7 @@
conf_dir = os.path.expanduser("~") + os.sep + ".pychemqt" + os.sep

print(os.environ["pychemqt"])
print(os.environ["freesteam"])
# Checking config folder
if not os.path.isdir(conf_dir):
os.mkdir(conf_dir)
Expand Down

0 comments on commit bab508c

Please sign in to comment.