Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroZ committed Sep 13, 2017
1 parent c0829b7 commit 03d33ab
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Windows/laZagne.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,11 @@ def manage_advanced_options():
if 'drive' in args:
drive = args['drive'].upper()
# drive letter between A and Z
if drive != constant.drive and len(drive) == 1 and (ord(drive) >= 50 and ord(drive) <= 90):
constant.drive = drive
else:
print_debug('ERROR', 'Drive letter should be a letter between A and Z')
if drive != constant.drive:
if len(drive) == 1 and (ord(drive) >= 50 and ord(drive) <= 90):
constant.drive = drive
else:
print_debug('ERROR', 'Drive letter should be a letter between A and Z')

# Run only one module
def runModule(category_choosed, need_high_privileges=False, need_system_privileges=False, not_need_to_be_in_env=False, cannot_be_impersonate_using_tokens=False):
Expand Down

0 comments on commit 03d33ab

Please sign in to comment.