remove platform check

more_events
OpenGnSys Support Team 2020-05-13 17:00:35 +02:00
parent b63bd727f9
commit 5f874030f5
1 changed files with 0 additions and 3 deletions

View File

@ -30,9 +30,6 @@ class ogClient:
self.mode = self.CONFIG['opengnsys']['mode']
if self.mode not in {'virtual', 'linux'}:
raise ValueError('Mode not supported.')
if self.mode == 'linux' and platform.system() != 'Linux':
raise ValueError('Linux mode not supported on '
'non-Linux platform.')
if self.CONFIG['samba']['activate']:
assert('user' in self.CONFIG['samba'])