forked from financial-astrology-research/morinus-console
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrangechecker.py
More file actions
executable file
·15 lines (8 loc) · 875 Bytes
/
Copy pathrangechecker.py
File metadata and controls
executable file
·15 lines (8 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
import os
class RangeChecker:
def __init__(self):
self.extended = False
if os.path.isfile('SWEP/Ephem/seplm54.se1') and os.path.isfile('SWEP/Ephem/seplm48.se1') and os.path.isfile('SWEP/Ephem/seplm42.se1') and os.path.isfile('SWEP/Ephem/seplm36.se1') and os.path.isfile('SWEP/Ephem/semom54.se1') and os.path.isfile('SWEP/Ephem/semom48.se1') and os.path.isfile('SWEP/Ephem/semom42.se1') and os.path.isfile('SWEP/Ephem/semom36.se1') and os.path.isfile('SWEP/Ephem/sepl_30.se1') and os.path.isfile('SWEP/Ephem/sepl_36.se1') and os.path.isfile('SWEP/Ephem/sepl_42.se1') and os.path.isfile('SWEP/Ephem/sepl_48.se1') and os.path.isfile('SWEP/Ephem/semo_30.se1') and os.path.isfile('SWEP/Ephem/semo_36.se1') and os.path.isfile('SWEP/Ephem/semo_42.se1') and os.path.isfile('SWEP/Ephem/semo_48.se1'):
self.extended = True
def isExtended(self):
return self.extended