Skip to content
Snippets Groups Projects
Commit cd527146 authored by jkerdreu's avatar jkerdreu
Browse files

Fix a global var bug..


git-svn-id: https://redmine.imt-atlantique.fr/svn/xaal/code/Python/branches/fork@1509 b32b6428-25c9-4566-ad07-03861ab6144f
parent f3996ba0
Branches
No related tags found
No related merge requests found
......@@ -7,12 +7,12 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
......@@ -67,6 +67,7 @@ def usage():
def main():
global level
if len(sys.argv) == 2:
level = int(sys.argv[1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment