Changed ASCII characters in weather.py

This commit is contained in:
Marcos Delgado Cuevas 2020-01-16 14:24:54 +01:00 committed by bernat
parent 77fbadbf65
commit 86e46f1a63
1 changed files with 6 additions and 3 deletions

9
PythonAPI/util/weather.py Normal file → Executable file
View File

@ -1,3 +1,6 @@
#!/usr/bin/env python
import glob import glob
import os import os
import sys import sys
@ -120,7 +123,7 @@ def main():
weather.sun_azimuth_angle = 100 weather.sun_azimuth_angle = 100
run_dynamic_simulation = False run_dynamic_simulation = False
else: else:
print("[ERROR]: Command [--sun | -s] ´" + args.sun + "´ not known") print("[ERROR]: Command [--sun | -s] '" + args.sun + "' not known")
sys.exit(1) sys.exit(1)
## Weather ## ## Weather ##
@ -147,7 +150,7 @@ def main():
weather.wetness = 100.0 weather.wetness = 100.0
run_dynamic_simulation = False run_dynamic_simulation = False
else: else:
print("[ERROR]: Command [--weather | -w] ´" + args.weather + "´ not known") print("[ERROR]: Command [--weather | -w] '" + args.weather + "' not known")
sys.exit(1) sys.exit(1)
@ -251,4 +254,4 @@ def main():
if __name__ == '__main__': if __name__ == '__main__':
main() main()