Skip to content
This repository has been archived by the owner on Oct 8, 2018. It is now read-only.

Commit

Permalink
Add check for when both --graphusers and --usersearch flags are present
Browse files Browse the repository at this point in the history
  • Loading branch information
the-emerald committed Mar 1, 2017
1 parent 6d6e964 commit 812cf26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ def plotUsers(): #Plot the most active users
print("No graph picked for plotting. Aborting.")
quit()

if args.graphusers and args.usersearch != "None":
print("Cannot plot most active users and filter for a specific user at the same time. Aborting.")
quit()

with open(args.input, 'r') as textfile:
textfileArray = [line.strip() for line in textfile]
lineNumber = len(textfileArray)
Expand Down

0 comments on commit 812cf26

Please sign in to comment.