scripts/intranet/ClassesIntranet/__init__.py
gdetrez 1ce1644112 Encodage cass. a a l'air fix, mais je ne sais toujours pas vraiment d'o a vient...
darcs-hash:20070531090324-f46e9-60934f552dfa82357530d7ee093ac8ef1f614a14.gz
2007-05-31 11:03:24 +02:00

8 lines
234 B
Python

import cherrypy
def current_module():
current_path = cherrypy.request.object_path
module_name = current_path.split('/')[1]
if module_name not in ['index', 'send_error_repport']:
return module_name
return None