Skip to content

Commit

Permalink
Fix markdown block.
Browse files Browse the repository at this point in the history
Preston-Landers committed Nov 6, 2020
1 parent de337fc commit beb49d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ This will trigger the UAC (User Access Control) prompt if necessary.

This shows a typical usage pattern:

```
```python
import pyuac

def main():
@@ -29,8 +29,9 @@ def main():
if __name__ == "__main__":
if not pyuac.isUserAdmin():
print("Re-launching as admin!")
return pyuac.runAsAdmin()
main()
pyuac.runAsAdmin()
else:
main()
```

## Requirements

0 comments on commit beb49d5

Please sign in to comment.