Changeset 106:314a3a2b9519

Show
Ignore:
Timestamp:
2007-08-01 17:39:19 (1 year ago)
Author:
Stefan Schwarzer <sschwarzer@sschwarzer.net>
branch:
default
Message:
Moved some constant from `websourcebrowser.py` to `config.py`.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • config.py

    r98 r106  
    2828import optparse 
    2929import os 
     30import random 
    3031import sys 
    3132 
    3233import coding 
    3334 
     35 
    3436# 
    35 # defaults 
     37# constants used in several places 
     38
     39CSS_FILE_NAME = "websourcebrowser.css" 
     40# window target for files to display 
     41SOURCE_WINDOW_TARGET = "websourcebrowser_source" 
     42# used to distinguish actual files from directories or files for 
     43#  internal use, e. g. style sheets 
     44#SPECIAL_DIR = str(random.randrange(1000000, 10000000)) 
     45SPECIAL_DIR = "269b89b5c7930683" 
     46 
     47
     48# defaults, can be changed via command line 
    3649# 
    3750