Skip to content

Commit

Permalink
Add csloader plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
darkf committed Feb 27, 2010
1 parent 5465a31 commit 97c6972
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/pyscripts/plugins/csloader.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import os
from xsbs.server import csevalfile

path = "cubescript"

if os.path.exists(path):
files = os.listdir(path)
for file in files:
if file[0] != '.' and file != '..':
csevalfile(os.path.join(path, file))

0 comments on commit 97c6972

Please sign in to comment.