mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Try to fix issue#100.
site module is not present.
This commit is contained in:
parent
cebd349e28
commit
8a93f4ba13
1 changed files with 7 additions and 1 deletions
|
@ -23,7 +23,13 @@
|
|||
|
||||
# imports
|
||||
import os
|
||||
import site
|
||||
try:
|
||||
import site
|
||||
except Exception:
|
||||
class Dummy:
|
||||
def __init__(self):
|
||||
self.PREFIXES = []
|
||||
site = Dummy()
|
||||
import sys
|
||||
|
||||
# PySol imports
|
||||
|
|
Loading…
Add table
Reference in a new issue