Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/rev/e7a19d546998
Дата изменения: Unknown
Дата индексирования: Tue Oct 2 00:43:28 2012
Кодировка:
allpy: e7a19d546998

allpy

changeset 455:e7a19d546998

Blocks3D_config: guess location of html.htm properly
author Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru>
date Wed, 16 Feb 2011 20:33:46 +0300
parents 72133fbdf9f9
children 42b0ec11ae50
files blocks3d/Blocks3D_config.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/blocks3d/Blocks3D_config.py	Wed Feb 16 20:20:07 2011 +0300
     1.2 +++ b/blocks3d/Blocks3D_config.py	Wed Feb 16 20:33:46 2011 +0300
     1.3 @@ -5,6 +5,7 @@
     1.4  #################
     1.5  
     1.6  import sys
     1.7 +from os.path import join, dirname
     1.8  
     1.9  
    1.10  min_width = 3
    1.11 @@ -13,7 +14,7 @@
    1.12  
    1.13  
    1.14  # in this file should be HTM text. string "self_js_text" will be replaced to variable code
    1.15 -# html_file = "../../html.htm"
    1.16 +html_file = join(dirname(__file__), "html.htm")
    1.17  
    1.18  
    1.19  rectangles_type = 'out'